Skip to content

Commit

Permalink
[cesium] - changed writer test case to match new error message with w…
Browse files Browse the repository at this point in the history
…rite collisons
  • Loading branch information
LeonLiur committed Jul 5, 2024
1 parent 06fc080 commit 1313753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cesium/writer_behavior_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ var _ = Describe("Writer Behavior", func() {
By("Resolving the error to be commit error")
err := w.Error()
Expect(err).To(MatchError(validate.Error))
Expect(err).To(MatchError(ContainSubstring("overlaps with existing data occupying time range %v", (10 * telem.SecondTS).Range(11*telem.SecondTS+1))))
Expect(err).To(MatchError(ContainSubstring("overlaps with existing data occupying time range %v", (10 * telem.SecondTS).Range(14*telem.SecondTS+1))))

By("Closing the writer")
Expect(w.Close()).To(Succeed())
Expand Down

0 comments on commit 1313753

Please sign in to comment.