Skip to content

Commit 98aebc2

Browse files
committed
Add assertion for TestGetPartitionedStatsCmd
1 parent 59cafd7 commit 98aebc2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/ctl/topic/stats_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ func TestGetPartitionedStatsCmd(t *testing.T) {
110110
assert.Equal(t, "", stats.DeDuplicationStatus)
111111
assert.Equal(t, 2, stats.Metadata.Partitions)
112112
assert.Equal(t, 0, len(stats.Partitions))
113+
assert.Greater(t, stats.TopicCreationTimeStamp, int64(0))
113114
}
114115

115116
func TestGetPerPartitionedStatsCmd(t *testing.T) {

0 commit comments

Comments
 (0)