Skip to content

Commit bb5d343

Browse files
committed
fix cli test
1 parent c73abb7 commit bb5d343

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

t/cli/test_validate_config.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ discovery:
2828
' > conf/config.yaml
2929

3030
out=$(make init 2>&1 || true)
31-
if ! echo "$out" | grep 'property "host" validation failed: wrong type: expected array, got string'; then
31+
32+
if ! echo "$out" | grep 'invalid discovery nacos configuration: value should match only one schema, but matches none'; then
33+
cat logs/error.log
3234
echo "failed: should check discovery schema during init"
3335
exit 1
3436
fi

0 commit comments

Comments
 (0)