26 Commits

Author SHA1 Message Date
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
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
LukasMol
f4fb45abac tests/ black code reformat 2022-04-27 17:01:20 +02:00
Vaidas Gasiunas
e44a906c4b
Merge branch 'main' into fix/make-code-pythonic 2022-04-26 10:48:23 +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
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
70c60c69b8 Upgrade Tests: Refactoring LocalCluster to enable configuration updates 2022-03-17 17:11:12 +01:00
Vaidas Gasiunas
b8386f15d6 ApiTester: configuration for ApiCorrectness workload; Better error handing and reporting 2022-03-04 16:22:49 +01:00
Andrew Noyes
96cbfe668c
Fix flaky ctest tests (#6310)
* Use localhost cluster for trace_partial_file_suffix_test

This way we get a predictable 127.0.0.1 in the trace file name

* Skip suspend test of pidof is not available

* Avoid writing to closed trace log

calling fdb_network_stop sends a "close" message to the trace thread,
but the network thread might can still be running and sending "flush"
messages to the network thread. This change basically ignores any
flushes that come after a close.

* Ensure unique ports for multi-process tests
2022-01-28 13:16:44 -08:00
Andrew Noyes
9ca514401d Suppress known asan stderr message 2021-12-22 15:04:30 -08:00
Andrew Noyes
6fdbd9ae30 Fail test if there's a sev40 in the logs, and output logs if test fails 2021-12-22 15:03:37 -08:00
Andrew Noyes
ebb570422b Format tmp_cluster.py with black 2021-12-22 15:01:54 -08:00
Chaoguang Lin
b5629bc014 Add default value for process_number in the constructor of TempCluster 2021-07-14 20:58:20 +00:00
Chaoguang Lin
1e3d3811cc Merge branch 'master' of github.com:apple/foundationdb into extend-fdbclient-test-for-multiple-processes 2021-07-14 20:20:39 +00:00
Chaoguang Lin
368657623a Extend add_fdbclient_test to support multiple processes' cluster 2021-07-14 20:17:12 +00:00
Scott Fines
d1db0d4013 Making it possible to run a multiple-cluster Java integration test 2021-07-07 10:15:18 -07:00
Andrew Noyes
18ee11e69a Use add_fdbclient_test for java integration tests
Also change add_fdbclient_test to run its subcommand with FDB_CLUSTER_FILE set
2021-03-02 01:54:17 +00:00
Markus Pilman
2e7dcb6907 ask the OS to find a free port 2020-09-29 10:39:00 -06:00
Markus Pilman
94b7fcf823 fix typo 2020-09-28 14:20:58 -06:00
Markus Pilman
bf179dfbf3 Add better help text to tmp_cluster script 2020-09-28 14:17:08 -06:00
Markus Pilman
33d6c412c1 return error code correctly and cmake fixes 2020-09-24 15:58:41 -06:00
Markus Pilman
4c25214085 Add ability to run tests on fdb in ctest 2020-09-24 15:43:05 -06:00