mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-28 03:38:11 +08:00
Enhance: localhost:9385 -> sandbox-executor-manager:9385 (#17414)
This commit is contained in:
@@ -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},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user