Enhance: localhost:9385 -> sandbox-executor-manager:9385 (#17414)

This commit is contained in:
Wang Qi
2026-07-27 15:20:09 +08:00
committed by GitHub
parent 3065a29935
commit cd846cc9d4
8 changed files with 22 additions and 22 deletions

View File

@@ -35,7 +35,7 @@ func TestValidateSystemSettingValue(t *testing.T) {
{name: "bool accepts true", dataType: "bool", value: "true"},
{name: "bool accepts false", dataType: "bool", value: "false"},
{name: "bool rejects non bool", dataType: "bool", value: "yes", wantError: true},
{name: "json accepts object", dataType: "json", value: `{"endpoint":"http://localhost:9385"}`},
{name: "json accepts object", dataType: "json", value: `{"endpoint":"http://sandbox-executor-manager:9385"}`},
{name: "json rejects invalid", dataType: "json", value: "{", wantError: true},
{name: "unknown type rejects", dataType: "float", value: "1.2", wantError: true},
}