tuulos / metaflow-datastore-tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Datastore test suite for Metaflow

Usage:

  1. Clone this repo
git clone http://github.com/tuulos/metaflow-datastore-tests
  1. Install dependencies of Metaflow
python3 -m pip install click requests boto3 pylint
  1. Clone Metaflow master
git clone http://github.com/Netflix/metaflow
  1. Clone another branch for comparison, e.g. convergence
git clone --branch convergence http://github.com/Netflix/metaflow metaflow-cc
  1. Configure Metaflow datastore: Fix the bucket name and add these lines to ~/.metaflowconfig/config.json:
{
    "METAFLOW_DATASTORE_SYSROOT_S3": "s3://my-bucket/metaflow/",
    "METAFLOW_DATATOOLS_SYSROOT_S3": "s3://my-bucket/metaflow/data",
    "METAFLOW_DEFAULT_DATASTORE": "s3"
}
  1. Run tests (this is going to take more than an hour, so consider using screen):
cd metaflow-datastore-tests
time ./run_tests.sh ../metaflow ../metaflow-cc/ > results.csv

Optionally, you can run a single test, e.g. noop, by specifying its name:

./run_tests.sh ../metaflow ../metaflow-cc/ noop > results.csv

About

License:Apache License 2.0


Languages

Language:Python 86.2%Language:Shell 13.8%