Commit Graph

114 Commits

Author SHA1 Message Date
Josh Slocum b2835921ba
Using knownBlobRanges for blob granule ranges whether tenants are enabled or not (#7788)
* Using knownBlobRanges for blob granule ranges whether tenants are enabled or not

* Effectively disabled blob granule tests when tenants enabled to fix ctest
2022-08-05 11:46:09 -05:00
Andrew Noyes 1558edce8c Python_EXECUTABLE to Python3_EXECUTABLE 2022-07-29 14:57:29 -07:00
Vaidas Gasiunas 1e8feb9cb8
Generate a shim library for the FDB C API (#7506)
* Adding sources of the Implib.so project

* Run C unit tests and API tests with the shim library

* Reuse compilation of C test binaries with and without shim library

* Resolve client library path from an environment variable

* Refactoring: Reusable module for downloading FDB binaries

* Testing client shim library with current version and last release version

* Tests for specifying client library over an environment variable

* Enable C shim library tests on ARM

* Restore the original path for including fdb_api.hpp
2022-07-08 16:28:35 +02:00
Vaidas Gasiunas e28a8401fb
Update coordinator list from cluster file (#7382)
* Log failed connection attempts in monitorProxies

* Update coordinator list from the cluster file after failing to connect to all coordinators

* Wiggle and upgrade test with legacy version monitoring; updating tests to use 7.1.9

* Update coordinator list from the cluster file: addressing review comments

* Update coordinator list from the cluster file: addressing review comments

* Wait on future for all setAndPersistConnectionString calls
2022-06-23 09:22:09 +02:00
Andrew Noyes e0eedc6a37
Fix asan message detection (#7338)
* Fix asan message detection

* Fix heap-buffer-overflow

Call to strlen on a not necessarily null terminated string

* Fix gcc build
2022-06-08 09:35:30 -07:00
Mohamed Oulmahdi 3139e28aeb Fix TestRunner.py typos 2022-05-31 13:29:25 +02:00
Junhyun Shim 02b2f97e99
mTLS test helpers (#7218)
* Add TLS option to (local_cluster|tmp_cluster).py

* Add TLS-enabled C API test
2022-05-23 12:47:51 +02:00
Vaidas Gasiunas 5205b565ab
Upgrade Tests: Testing downgrade from 7.2 to 7.1 (#7179) 2022-05-18 11:59:29 +02:00
Vaidas Gasiunas 9966e3f7f7 Api Tester: print workload progress statistics in regular time intervals 2022-05-17 17:35:01 +02:00
Vaidas Gasiunas 6bb83adbdc Upgrade Tests: Restore progress checks after every step 2022-05-13 11:08:23 +02:00
Vaidas Gasiunas c84e0b0d7a
Merge pull request #7085 from sfc-gh-vgasiunas/vgasiunas-cluster-wiggle-test
Cluster wiggle test
2022-05-11 13:06:33 +02:00
Markus Pilman e1ab0f5c4d
Merge pull request #7086 from sfc-gh-vgasiunas/vgasiunas-upgrade-tests-71
Upgrade Tests: Including 7.1 into the upgrade paths
2022-05-10 09:09:55 -07:00
Vaidas Gasiunas 27c0113305 Upgrade Tests: Including 7.1 into the upgrade paths 2022-05-06 15:21:57 +02:00
Vaidas Gasiunas fab8f35683 Cluster wiggle test 2022-05-06 15:00:40 +02:00
Vaidas Gasiunas 77b930be15 Upgrade Tests: Avoid race conditions when copying library files from a local repo 2022-05-06 11:32:28 +02:00
Vaidas Gasiunas 1ef33db1ef Upgrade Tests: Create the destination directory before copying a client library from the local repository 2022-04-29 16:41:03 +02:00
Vaidas Gasiunas 449d5aec61 Upgrade Tests: Fix paths for accessing binaries from the local repo 2022-04-29 15:54:47 +02:00
Vaidas Gasiunas e33d7455a5 Upgrade Tests: Retry on download errors 2022-04-29 15:32:47 +02:00
Vaidas Gasiunas 27c3d7a953 Upgrade Tests: Use old binaries from the Docker image if available 2022-04-29 14:53:22 +02:00
Vaidas Gasiunas 27d7b2e409 Upgrade Test: Avoid blocking on opening names pipes in case the tester fails to initialize 2022-04-29 14:04:27 +02:00
Vaidas Gasiunas e52662c774
Upgrade Tests: Fix resetting of already initialized variables 2022-04-29 12:47:05 +02:00
LukasMol f4fb45abac tests/ black code reformat 2022-04-27 17:01:20 +02:00
LukasMol 1771869167 made merge Pythonic + fixed func and var identical name 2022-04-26 15:16:50 +02:00
Vaidas Gasiunas e44a906c4b
Merge branch 'main' into fix/make-code-pythonic 2022-04-26 10:48:23 +02:00
Vaidas Gasiunas 9921a9bd02 Upgrade Tests: Avoid corrupting downloaded files in case of parallel test execution 2022-04-25 15:02:38 +02:00
Vaidas Gasiunas 0a9b2470da Upgrade Tests: Check the hash sum of the dowloaded files, retry the download on errors 2022-04-22 16:37:11 +02:00
Vaidas Gasiunas 9897712307 Merge remote-tracking branch 'apple/main' into vgasiunas-client-tmp-dir 2022-04-22 13:00:09 +02:00
Vaidas Gasiunas f9cb9deb1d Use build-local temp directory for C API tests 2022-04-22 11:57:29 +02:00
Vaidas Gasiunas b4fa9e23f6 Upgrade Tests: Use build local tmp directory for temp client library copies 2022-04-21 19:27:19 +02:00
Josh Slocum d26db64f08 only adding bg_url knob to local cluster config if blob granules enabled 2022-04-21 10:47:36 -05:00
LukasMol b7e9cab0a7 made python files inside TestRunner more pythonic 2022-04-21 16:24:51 +02:00
Josh Slocum 3c036300cc Addressing review comments 2022-04-20 14:34:19 -05:00
Josh Slocum 40052c1394 Added Blob Granule API Tester 2022-04-20 10:15:43 -05:00
Josh Slocum 8fa25aa013 Adding blob granule client test target and local cluster setup 2022-04-20 10:15:43 -05:00
Vaidas Gasiunas 3372b3a6eb Upgrade Tests: Check logs for warnings and dump them 2022-04-19 13:37:21 +02:00
Vaidas Gasiunas 79b2ebeb4b Upgrade Tests: Test upgrade from 7.0 to 7.2 2022-04-19 11:53:33 +02:00
Vaidas Gasiunas a03ba928e4 Upgrade Tests: Introduce transaction retry limit; Trace long retry chains; An option to run the test binary with gdb 2022-04-13 16:50:02 +02:00
Vaidas Gasiunas f7636ecf3b Upgrade Tests: Addressing review comments 2022-04-13 14:17:23 +02:00
Vaidas Gasiunas 9e46128b6f Upgrade Test: Include only currently working tests into the ctest suite 2022-04-12 20:03:29 +02:00
Vaidas Gasiunas 73ed1c6e97 Upgrade Tests: update for 7.2 2022-04-12 14:06:20 +02:00
Vaidas Gasiunas acceebd0b5 Upgrade Test: Fix reporting of errors in logs 2022-04-08 20:27:26 +02:00
Vaidas Gasiunas ac48e5000e Upgrade Test: Include upgrade from 7.0 in ctest 2022-04-07 19:32:57 +02:00
Vaidas Gasiunas 68a9abd3c5 Upgrade Test: Derive API version from the versions tested; Improve handing of error situations 2022-03-24 17:23:17 +01:00
Vaidas Gasiunas c63a1a18dd Upgrade Tests: Check workload progress after each upgrade step 2022-03-24 12:36:22 +01:00
Vaidas Gasiunas c1f4edbfe9 Upgrade Tests: Fix port assignment in local_cluster.py 2022-03-23 09:42:49 +01:00
Vaidas Gasiunas 6f8b410a8a Upgrade Tests: Run API workloads until stop commands; Initial ctest for upgrade 2022-03-22 20:30:06 +01:00
Vaidas Gasiunas 5bcc173044 Merge remote-tracking branch 'apple/main' into vgasiunas-upgrade-test 2022-03-22 12:17:28 +01:00
Vaidas Gasiunas 0f9ebaae37 Upgrade Tests: Scripting download of old libraries and cluster upgrades; Specifying external library directory in C API Tester 2022-03-22 12:14:01 +01:00
A.J. Beamon 513e8887dd Add a new C unit test that uses tenants. Fix simulation issue where resetting a transaction could cause in-flight operations to pick up the simulated default tenant for the next retry. Use the new list tenant JSON format in the tenant management test. Fix missing raw_access option in special key space correctness test. 2022-03-17 12:10:19 -07:00
Vaidas Gasiunas 70c60c69b8 Upgrade Tests: Refactoring LocalCluster to enable configuration updates 2022-03-17 17:11:12 +01:00