Skip to content

Commit

Permalink
Resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Tit Petric committed Nov 6, 2023
1 parent 5b8d1f5 commit f963896
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
3 changes: 0 additions & 3 deletions gateway/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,8 @@ import (
"strings"
"sync"

<<<<<<< HEAD
"github.com/TykTechnologies/tyk/internal/crypto"
=======
"github.com/TykTechnologies/tyk/internal/httputil"
>>>>>>> 3b1379e4... [TT-9284] Ensure that old transport will close idle connections (#5231)

"sync/atomic"
textTemplate "text/template"
Expand Down
13 changes: 1 addition & 12 deletions gateway/testutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@ import (
"github.com/gorilla/websocket"
"golang.org/x/net/context"

<<<<<<< HEAD
=======
"github.com/TykTechnologies/tyk/internal/httputil"
"github.com/TykTechnologies/tyk/internal/otel"
>>>>>>> 3b1379e4... [TT-9284] Ensure that old transport will close idle connections (#5231)
"github.com/TykTechnologies/tyk/internal/uuid"

"github.com/TykTechnologies/graphql-go-tools/pkg/execution/datasource"
Expand Down Expand Up @@ -1023,16 +1019,9 @@ func (s *Test) BootstrapGw(ctx context.Context, cancelFn context.CancelFunc, gen
}
gwConfig.CoProcessOptions = s.config.CoprocessConfig

<<<<<<< HEAD
s.gwMu.Lock()
s.Gw = NewGateway(gwConfig, ctx, cancelFn)
s.Gw.setTestMode(true)
s.gwMu.Unlock()
=======
gw := NewGateway(gwConfig, s.ctx)
gw := NewGateway(gwConfig, ctx, cancelFn)
gw.setTestMode(true)
gw.ConnectionWatcher = httputil.NewConnectionWatcher()
>>>>>>> 3b1379e4... [TT-9284] Ensure that old transport will close idle connections (#5231)

s.MockHandle = MockHandle

Expand Down

0 comments on commit f963896

Please sign in to comment.