Skip to content

Commit c07b59d

Browse files
dubeeVincent
authored andcommitted
Fix failing config test (#327)
1 parent d7d443e commit c07b59d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/test/scala/whisk/core/cli/test/WskConfigTests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class WskConfigTests extends TestHelpers with WskTestHelpers {
4646
try {
4747
val env = Map("WSK_CONFIG_FILE" -> tmpwskprops.getAbsolutePath())
4848
wsk.cli(Seq("property", "set", "-i", "--apihost", "xxxx.yyyy"), env = env)
49-
val rr = wsk.cli(Seq("property", "get", "--apibuild", "-i"), env = env, expectedExitCode = ANY_ERROR_EXIT)
49+
val rr = wsk.cli(Seq("property", "get", "--apibuild", "-i"), env = env, expectedExitCode = NETWORK_ERROR_EXIT)
5050
rr.stdout should include regex ("""whisk API build\s*Unknown""")
5151
rr.stderr should include regex ("Unable to obtain API build information")
5252
} finally {

0 commit comments

Comments
 (0)