Skip to content

Commit

Permalink
fix http2 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Yumasi committed Nov 22, 2024
1 parent 76152be commit 0ae8a1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/network/usm/usm_http2_monitor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ type usmHTTP2Suite struct {

func (s *usmHTTP2Suite) getCfg() *config.Config {
cfg := config.New()
cfg.EnableIstioMonitoring = false
cfg.EnableHTTP2Monitoring = true
cfg.EnableGoTLSSupport = s.isTLS
cfg.GoTLSExcludeSelf = s.isTLS
Expand Down Expand Up @@ -1510,6 +1511,7 @@ func (s *usmHTTP2Suite) TestRawHuffmanEncoding() {
func TestHTTP2InFlightMapCleaner(t *testing.T) {
skipIfKernelNotSupported(t)
cfg := config.New()
cfg.EnableIstioMonitoring = false
cfg.EnableHTTP2Monitoring = true
cfg.HTTP2DynamicTableMapCleanerInterval = 5 * time.Second
cfg.HTTPIdleConnectionTTL = time.Second
Expand Down

0 comments on commit 0ae8a1a

Please sign in to comment.