Skip to content

Commit 0aed8f0

Browse files
committed
debug ci
1 parent 061b169 commit 0aed8f0

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

integration_test.go

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,19 @@ func (c *questdbContainer) Stop(ctx context.Context) error {
7474
return err
7575
}
7676
}
77-
err := c.Terminate(ctx)
78-
if err != nil {
79-
return err
77+
if c.Container != nil {
78+
err := c.Terminate(ctx)
79+
if err != nil {
80+
return err
81+
}
8082
}
81-
err = c.network.Remove(ctx)
82-
if err != nil {
83-
return err
83+
if c.network != nil {
84+
err := c.network.Remove(ctx)
85+
if err != nil {
86+
return err
87+
}
8488
}
89+
8590
return nil
8691
}
8792

tcp_integration_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ func (suite *integrationTestSuite) TestE2EWriteInBatches() {
5454

5555
questdbC, err := setupQuestDB(ctx, noAuth)
5656
assert.NoError(suite.T(), err)
57-
if questdbC == nil {
58-
assert.Fail(suite.T(), "fail to start QuestDB")
59-
return
60-
}
6157
defer questdbC.Stop(ctx)
6258

6359
sender, err := qdb.NewLineSender(ctx, qdb.WithTcp(), qdb.WithAddress(questdbC.ilpAddress))

0 commit comments

Comments
 (0)