Skip to content

Commit 6fcec58

Browse files
committed
update e2e test to work with non-emtpy output
1 parent 8627bff commit 6fcec58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cmd/sdn.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ os::test::junit::declare_suite_end
4949

5050
os::test::junit::declare_suite_start "cmd/sdn/hostsubnets"
5151
# test-cmd environment has no nodes, hence no hostsubnets
52-
os::cmd::expect_success_and_not_text 'oc get hostsubnets' '.'
52+
os::cmd::expect_success_and_text 'oc get hostsubnets' 'No resources found.'
5353
os::test::junit::declare_suite_end
5454

5555
os::test::junit::declare_suite_start "cmd/sdn/egressnetworkpolicies"

0 commit comments

Comments
 (0)