File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6161 - name : Test
6262 shell : bash
6363 run : |
64+ set -euo pipefail
65+
6466 IAM_REGEX='^(DriverAuth|TMetadataFixture|TJwtIamFixture|TOAuthIamFixture|OAuth_WithFacility)\.'
67+ FLAKY_REGEX='(ManyMessages|DiscoveryHang|DescribeHang)'
68+ EXCLUDE_REGEX="${IAM_REGEX}|${FLAKY_REGEX}"
6569
66- ctest -j1 --preset coverage-all -E "${IAM_REGEX }" --output-on-failure
70+ ctest -j1 --preset coverage-all -E "${EXCLUDE_REGEX }" --output-on-failure
6771
6872 cleanup_iam() { docker rm -f ydb-iam >/dev/null 2>&1 || true; }
6973 trap cleanup_iam EXIT
8589 sleep 2
8690 done
8791
92+ if ! docker exec ydb-iam /ydb --endpoint grpc://localhost:2136 \
93+ --database /local sql -s 'select 1' >/dev/null 2>&1; then
94+ echo "ydb-iam failed to become ready"
95+ docker logs ydb-iam 2>&1 | tail -50
96+ exit 1
97+ fi
98+
8899 YDB_ENDPOINT=localhost:2236 YDB_DATABASE=/local \
89100 ctest -j1 --test-dir build -R "${IAM_REGEX}" --output-on-failure
90101
You can’t perform that action at this time.
0 commit comments