* Fix port retry in fdb_cluster_fixture by grepping stderr separately The blob_backup_restore_tests ctest fails on busy CI instances when ports are already in use by parallel tests. The existing loop retried on port-in-use errors by grepping the output file for 'Local address in use', but both stdout and stderr were tee'd to the same output file via async process substitution, causing races where the grep misses the error string and the loop exits prematurely. Fix: tee stderr to a separate file (output.stderr) so the grep for 'Local address in use' is reliable and not corrupted by interleaved stdout. Non-port-in-use failures still fail immediately with stderr printed for debugging. * Address feedback. Simplify stdout/stderr capture in fdb_cluster_fixture Replace process substitution with tee with plain file redirects. The tee was unnecessary since neither stream needs real-time terminal output: stdout is only grepped for PIDs and stderr is only checked for port collisions or dumped on failure. |
||
|---|---|---|
| .. | ||
| aws_fixture.sh | ||
| bulkload_test.sh | ||
| fdb_cluster_fixture.sh | ||
| gcp_fixture.sh | ||
| mocks3_fixture.sh | ||
| s3client_test.sh | ||
| tests_common.sh | ||