Skip to content

tuulos/metaflow-datastore-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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