-
Notifications
You must be signed in to change notification settings - Fork 185
Running the tests on S3
Within the TileDB
directory, create a build
directory and move to it.
$ mkdir build && cd build
Build with S3 enabled:
$ ../bootstrap --enable-verbose --enable-s3 && make -j4
If this is your first time running minio, you will need to install it. For OS X, you must have homebrew and Docker installed.
$ source ../scripts/install-minio.sh
Start the Minio server. It is important that this is run from the TileDB/build
directory because the following script contains relative paths. For OS X, Docker must be running.
$ source ../scripts/run-minio.sh
Run the unit tests:
make check
Alternatively, you may wish to just run the [s3]
tests to quickly verify connection with minio.
make -C tiledb tiledb_unit && ./tiledb/test/tiledb_unit "[s3]"
cd TileDB/build
../bootstrap --enable-verbose --enable-s3 && make -j4
cmake -DTILEDB_TESTS_AWS_S3_CONFIG=ON .. && make -j4
make -j4 check
The only difference here is the cmake
step.
Note: If any tests fail, the created buckets may not be removed. Remember to remove them manually after test failures.