Skip to content

Commit

Permalink
tweak test
Browse files Browse the repository at this point in the history
Signed-off-by: spacewander <[email protected]>
  • Loading branch information
spacewander committed Nov 18, 2024
1 parent ea47da5 commit d5555ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/pkg/filtermanager/filtermanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,7 @@ func TestSyncRunWhenThereAreMultiFilters(t *testing.T) {
ParsedConfig: addReqConf{
hdrName: "x-htnn-route",
},
SyncRunPhases: api.PhaseDecodeTrailers,
},
{
Name: "access_field_on_log",
Expand All @@ -720,7 +721,7 @@ func TestSyncRunWhenThereAreMultiFilters(t *testing.T) {
m := unwrapFilterManager(FilterManagerFactory(config, cb))
assert.Equal(t, false, m.canSyncRunDecodeHeaders)
assert.Equal(t, true, m.canSyncRunDecodeData)
assert.Equal(t, false, m.canSyncRunDecodeTrailers)
assert.Equal(t, true, m.canSyncRunDecodeTrailers)
assert.Equal(t, true, m.canSyncRunEncodeHeaders)
assert.Equal(t, true, m.canSyncRunEncodeData)
assert.Equal(t, true, m.canSyncRunEncodeTrailers)
Expand Down

0 comments on commit d5555ce

Please sign in to comment.