Skip to content

Commit

Permalink
Resolve conflict.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmacknz committed Jan 18, 2024
1 parent e0edd65 commit 0beb0c1
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions pkg/testing/fixture.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,20 +408,11 @@ func (f *Fixture) Run(ctx context.Context, states ...State) error {
if err != nil {
return fmt.Errorf("failed to get control protcol address: %w", err)
}
<<<<<<< HEAD

agentClient = client.New(client.WithAddress(cAddr))
f.setClient(agentClient)
defer f.setClient(nil)
stateCh, stateErrCh = watchState(ctx, agentClient, f.connectTimout)
=======

if shouldWatchState {
agentClient = client.New(client.WithAddress(cAddr))
f.setClient(agentClient)
defer f.setClient(nil)
stateCh, stateErrCh = watchState(ctx, f.t, agentClient, f.connectTimout)
}
>>>>>>> 08304f74be (Add retries to control server connection and ensure logs are captured on failure (#4088))
stateCh, stateErrCh = watchState(ctx, f.t, agentClient, f.connectTimout)

var logProxy Logger
if f.logOutput {
Expand Down

0 comments on commit 0beb0c1

Please sign in to comment.