From 43ede6f2d9b642f7bdbe70be1f9739f075dcda19 Mon Sep 17 00:00:00 2001 From: Seebs Date: Wed, 11 Jan 2023 13:27:51 -0600 Subject: [PATCH] add clarifying documentation --- test/cluster.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/cluster.go b/test/cluster.go index d5214b56e..2d7784aa8 100644 --- a/test/cluster.go +++ b/test/cluster.go @@ -239,6 +239,7 @@ func (c *ShareableCluster) Len() int { return len(c.Nodes) } +// ImportBitsWithTimestamp imports the given bits with (optional) timestamps. RowCols are {row,col}. func (c *ShareableCluster) ImportBitsWithTimestamp(t testing.TB, index, field string, rowcols [][2]uint64, timestamps []int64) { t.Helper() byShard := make(map[uint64][][2]uint64) @@ -307,6 +308,7 @@ func (c *ShareableCluster) ImportBitsWithTimestamp(t testing.TB, index, field st } } +// ImportBits imports the given bits. RowCols are {row,col}. func (c *ShareableCluster) ImportBits(t testing.TB, index, field string, rowcols [][2]uint64) { var noTime []int64 c.ImportBitsWithTimestamp(t, index, field, rowcols, noTime)