Skip to content

Commit 3cbec29

Browse files
committed
Fix
1 parent 1a66fb3 commit 3cbec29

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,4 @@ jobs:
116116
- name: Test
117117
shell: bash
118118
run: |
119-
ctest -j$(nproc) --preset integration
119+
YDB_VERSION=${{ matrix.ydb-version }} ctest -j$(nproc) --preset integration

tests/integration/topic/basic_usage.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,6 +926,11 @@ namespace {
926926
class TSettingsValidation : public TTopicTestFixture {};
927927

928928
TEST_F(TSettingsValidation, TestDifferentDedupParams) {
929+
char* ydbVersion = std::getenv("YDB_VERSION");
930+
if (ydbVersion != nullptr && std::string(ydbVersion) != "trunk" && std::string(ydbVersion) < "24.3") {
931+
GTEST_SKIP() << "Skipping test for YDB version " << ydbVersion;
932+
}
933+
929934
auto driver = MakeDriver();
930935

931936
TTopicClient client(driver);
@@ -946,7 +951,7 @@ TEST_F(TSettingsValidation, TestDifferentDedupParams) {
946951
std::cerr.flush();
947952
std::this_thread::sleep_for(std::chrono::milliseconds(250));
948953
std::cerr << "=== === START TEST. Producer = '" << producer << "', MsgGroup = '" << msgGroup << "', useDedup: "
949-
<< useDedupStr << ", manual SeqNo: " << useSeqNo << std::endl;
954+
<< useDedupStr << ", manual SeqNo: " << useSeqNo << std::endl;
950955

951956
try {
952957
if (useDedup.has_value()) {

0 commit comments

Comments
 (0)