Skip to content

Commit fc23ef9

Browse files
committed
Fix tests
1 parent b8e64eb commit fc23ef9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/ctl/topic/stats_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ func TestGetStatsWithPreciseBacklog(t *testing.T) {
207207
if err != nil {
208208
t.Fatal(err)
209209
}
210+
assert.Greaterf(t, stats.TopicCreationTimeStamp, int64(0), "TopicCreationTimeStamp should be greater than 0")
211+
stats.TopicCreationTimeStamp = 0
210212

211213
assert.Equal(t, defaultStats, stats)
212214
}

0 commit comments

Comments
 (0)