Skip to content

Commit

Permalink
fix: fix key used in verification sampling ITs (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwalkiewicz authored Oct 14, 2021
1 parent 92c6def commit 667eb28
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void testPartialReadsVerificationOnGets() throws IOException {
}

Configuration configuration = ConfigurationHelper.newConfiguration();
configuration.set("google.bigtable.mirroring.read-verification-rate", "1");
configuration.set("google.bigtable.mirroring.read-verification-rate-percent", "1");

try (MirroringConnection connection = databaseHelpers.createConnection(configuration)) {
try (Table table = connection.getTable(tableName)) {
Expand Down Expand Up @@ -99,7 +99,7 @@ public void testAllReadsVerificationOnGets() throws IOException {
}

Configuration configuration = ConfigurationHelper.newConfiguration();
configuration.set("google.bigtable.mirroring.read-verification-rate", "100");
configuration.set("google.bigtable.mirroring.read-verification-rate-percent", "100");

try (MirroringConnection connection = databaseHelpers.createConnection(configuration)) {
try (Table table = connection.getTable(tableName)) {
Expand All @@ -121,7 +121,7 @@ public void testNoReadsVerificationOnGets() throws IOException {
}

Configuration configuration = ConfigurationHelper.newConfiguration();
configuration.set("google.bigtable.mirroring.read-verification-rate", "0");
configuration.set("google.bigtable.mirroring.read-verification-rate-percent", "0");

try (MirroringConnection connection = databaseHelpers.createConnection(configuration)) {
try (Table table = connection.getTable(tableName)) {
Expand Down

0 comments on commit 667eb28

Please sign in to comment.