Skip to content

Commit

Permalink
review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
makalaaneesh committed Dec 10, 2024
1 parent 8fe088b commit fc0aef0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions yb-voyager/src/query/queryissue/issues_ddl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,9 @@ func testStoredGeneratedFunctionsIssue(t *testing.T) {
func testUnloggedTableIssue(t *testing.T) {
noticeFound := false
noticeHandler := func(conn *pgconn.PgConn, notice *pgconn.Notice) {
if notice != nil {
if notice.Message != "" {
assert.Equal(t, "unlogged option is currently ignored in YugabyteDB, all non-temp tables will be logged", notice.Message)
noticeFound = true
}
if notice != nil && notice.Message != "" {
assert.Equal(t, "unlogged option is currently ignored in YugabyteDB, all non-temp tables will be logged", notice.Message)
noticeFound = true
}
}
ctx := context.Background()
Expand Down

0 comments on commit fc0aef0

Please sign in to comment.