Skip to content

Commit 8e6ffb7

Browse files
committed
it: adjust and enable LatencyAwareRouting exec profile test
We just needed to adjust the log filter criteria to match the logs emitted by rust-driver.
1 parent 2f30511 commit 8e6ffb7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ SCYLLA_TEST_FILTER := $(subst ${SPACE},${EMPTY},ClusterTests.*\
3131
:ExecutionProfileTest.Integration_Cassandra_RequestTimeout\
3232
:ExecutionProfileTest.Integration_Cassandra_Consistency\
3333
:ExecutionProfileTest.Integration_Cassandra_SerialConsistency\
34+
:ExecutionProfileTest.Integration_Cassandra_LatencyAwareRouting\
3435
:-PreparedTests.Integration_Cassandra_PreparedIDUnchangedDuringReprepare\
3536
:HeartbeatTests.Integration_Cassandra_HeartbeatFailed\
3637
:ControlConnectionTests.Integration_Cassandra_TopologyChange\
@@ -75,6 +76,7 @@ CASSANDRA_TEST_FILTER := $(subst ${SPACE},${EMPTY},ClusterTests.*\
7576
:ExecutionProfileTest.Integration_Cassandra_RequestTimeout\
7677
:ExecutionProfileTest.Integration_Cassandra_Consistency\
7778
:ExecutionProfileTest.Integration_Cassandra_SerialConsistency\
79+
:ExecutionProfileTest.Integration_Cassandra_LatencyAwareRouting\
7880
:-PreparedTests.Integration_Cassandra_PreparedIDUnchangedDuringReprepare\
7981
:PreparedTests.Integration_Cassandra_FailFastWhenPreparedIDChangesDuringReprepare\
8082
:HeartbeatTests.Integration_Cassandra_HeartbeatFailed\

tests/src/integration/tests/test_exec_profile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ CASSANDRA_INTEGRATION_TEST_F(ExecutionProfileTest, LatencyAwareRouting) {
444444
CHECK_FAILURE;
445445

446446
// Execute batch with the assigned profile and add criteria for the logger
447-
logger_.add_critera("Calculated new minimum");
447+
logger_.add_critera("Latency awareness: updated min average latency to");
448448
for (int i = 0; i < 1000; ++i) {
449449
Batch batch;
450450
batch.add(insert_);

0 commit comments

Comments
 (0)