Skip to content

Commit 1834fc1

Browse files
sid-dinesh94igorbernstein2
authored andcommitted
chore: update Error message for bad bigtable.env variable (#91)
At some point, the allowed settings were changed from "prod" and "emulator" to "cloud" and "emulator". This change updates the error message associated to the illegal argument exception.
1 parent b3da95a commit 1834fc1

File tree

1 file changed

+1
-1
lines changed
  • google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/test_helpers/env

1 file changed

+1
-1
lines changed

google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/test_helpers/env/TestEnvRule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ protected void before(Description description) throws Throwable {
103103
default:
104104
throw new IllegalArgumentException(
105105
String.format(
106-
"Unknown env: %s. Please set the system property %s to either 'emulator' or 'prod'.",
106+
"Unknown env: %s. Please set the system property %s to either 'emulator' or 'cloud'.",
107107
env, ENV_PROPERTY));
108108
}
109109
testEnv.start();

0 commit comments

Comments
 (0)