Add query fuzz test for PRW2#7409
Conversation
| require.NoError(t, err) | ||
|
|
||
| seed := now.Unix() | ||
| rnd := rand.New(rand.NewSource(seed)) |
There was a problem hiding this comment.
| rnd := rand.New(rand.NewSource(seed)) | |
| rnd := rand.New(rand.NewSource(seed)) | |
| ctx := context.Background() | |
| waitUntilReady(t, ctx, c1, c2, `{job="test"}`, start, end) |
This is to ensure we get all series before testing
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
e7e67a7 to
1927ad8
Compare
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
1927ad8 to
cc1f409
Compare
|
Not sure I got why we need a query fuzz test specifically for RWv2... I think we can have a test for RWv1 vs RWv2 but no need to have any query involved. Simple vector selector should be fine. |
|
@yeya24 |
With the introduction of PRW2, we need to ensure that the new ingestion pipeline does not introduce any query results inconsistency compared to the stable PRW1 pipeline.
This PR adds a
TestRW1vsRW2QueryFuzze2e test that verifies that the query results for PRW1 and PRW2 are identical.Which issue(s) this PR fixes:
Fixes #
Checklist
CHANGELOG.mdupdated - the order of entries should be[CHANGE],[FEATURE],[ENHANCEMENT],[BUGFIX]