Skip to content

Commit

Permalink
stabellize e2e check in test
Browse files Browse the repository at this point in the history
  • Loading branch information
RekGRpth committed May 16, 2024
1 parent fb0d900 commit 401d3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion end_to_end/end_to_end_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2196,7 +2196,7 @@ LANGUAGE plpgsql NO SQL;`)
Expect(numSegments).To(Equal(strconv.Itoa(segmentCount)))

// check there is no pipe errors on segments
errSegments := dbconn.MustSelectString(restoreConn, "SELECT exists (SELECT * FROM gp_toolkit.__gp_log_segment_ext WHERE logtime > now() - '1 min'::interval AND logmessage LIKE 'read err msg from pipe%No such file or directory%' ORDER BY logtime DESC)")
errSegments := dbconn.MustSelectString(restoreConn, fmt.Sprintf("SELECT exists (SELECT * FROM gp_toolkit.__gp_log_segment_ext WHERE logdatabase = current_database() AND logmessage LIKE 'read err msg from pipe%%_%06d_%%')", gprestoreCmd.Process.Pid))
Expect(errSegments).To(Equal("false"))
},
Entry("Can backup a 1-segment cluster and restore to current cluster with replicated tables", "20221104023842", "1-segment-db-replicated"),
Expand Down

0 comments on commit 401d3a7

Please sign in to comment.