Usage:
- Clone this repo
git clone http://github.com/tuulos/metaflow-datastore-tests
- Install dependencies of Metaflow
python3 -m pip install click requests boto3 pylint
- Clone Metaflow
master
git clone http://github.com/Netflix/metaflow
- Clone another branch for comparison, e.g.
convergence
git clone --branch convergence http://github.com/Netflix/metaflow metaflow-cc
- 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"
}
- 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