Skip to content

Commit

Permalink
LEAF-4487 - switch over to different headers and values
Browse files Browse the repository at this point in the history
  • Loading branch information
shane committed Dec 10, 2024
1 parent 58ffd34 commit 395ec39
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions API-tests/formQuery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ func TestLargeFormQuery_SmallQuery(t *testing.T) {
t.Errorf("Record 958 should be readable")
}

if res.Header.Get("Leaf_large_queries") != "process_ran_on_api_server" {
if res.Header.Get("LEAF_Is_Large_Query") != "false" {
t.Errorf("bad headers: %v", res.Header)
}
}
Expand All @@ -311,7 +311,7 @@ func TestLargeFormQuery_SmallQuery_Indi_lt10_Limit1001(t *testing.T) {
t.Errorf("Record 958 should be readable")
}

if res.Header.Get("Leaf_large_queries") != "process_ran_on_api_server" {
if res.Header.Get("LEAF_Is_Large_Query") != "false" {
t.Errorf("bad headers: %v", res.Header)
}
}
Expand All @@ -330,7 +330,7 @@ func TestLargeFormQuery_LargeQuery_NoLimit(t *testing.T) {
t.Errorf("Record 958 should be readable")
}

if res.Header.Get("Leaf_large_queries") != "process_ran_on_large_query_server" {
if res.Header.Get("LEAF_Is_Large_Query") != "true" {
t.Errorf("bad headers: %v", res.Header)
}

Expand All @@ -350,7 +350,7 @@ func TestLargeFormQuery_LargeQuery_LimitGT110000(t *testing.T) {
t.Errorf("Record 958 should be readable")
}

if res.Header.Get("Leaf_large_queries") != "process_ran_on_large_query_server" {
if res.Header.Get("LEAF_Is_Large_Query") != "true" {
t.Errorf("bad headers: %v", res.Header)
}

Expand All @@ -370,7 +370,7 @@ func TestLargeFormQuery_LargeQuery_Indi_10_Limit1001(t *testing.T) {
t.Errorf("Record 958 should be readable")
}

if res.Header.Get("Leaf_large_queries") != "process_ran_on_large_query_server" {
if res.Header.Get("LEAF_Is_Large_Query") != "true" {
t.Errorf("bad headers: %v", res.Header)
}

Expand Down

0 comments on commit 395ec39

Please sign in to comment.