Skip to content

Commit

Permalink
No error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Oct 8, 2024
1 parent 9c07f66 commit 8b5110e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions clients/snowflake/snowflake_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,10 @@ func (s *SnowflakeTestSuite) TestExecuteMergeNilEdgeCase() {

s.stageStore.configMap.AddTableToConfig(s.identifierFor(tableData), types.NewDwhTableConfig(&anotherCols, nil, false, true))

err := s.stageStore.Merge(context.Background(), tableData)
assert.NoError(s.T(), s.stageStore.Merge(context.Background(), tableData))
_col, isOk := tableData.ReadOnlyInMemoryCols().GetColumn("first_name")
assert.True(s.T(), isOk)
assert.Equal(s.T(), _col.KindDetails, typing.String)
assert.NoError(s.T(), err)
}

func (s *SnowflakeTestSuite) TestExecuteMergeReestablishAuth() {
Expand Down Expand Up @@ -124,7 +123,6 @@ func (s *SnowflakeTestSuite) TestExecuteMergeReestablishAuth() {
}

s.stageStore.configMap.AddTableToConfig(s.identifierFor(tableData), types.NewDwhTableConfig(&cols, nil, false, true))

assert.NoError(s.T(), s.stageStore.Merge(context.Background(), tableData))
assert.Equal(s.T(), 5, s.fakeStageStore.ExecCallCount())
}
Expand Down

0 comments on commit 8b5110e

Please sign in to comment.