Skip to content

jackie-ob/metaflow-datastore-tests

 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 77.7%
  • Shell 22.3%