未验证 提交 b5dfa241 编写于 作者: G Ganesh Vernekar 提交者: GitHub

Fix flaky TestAtModifier (#8401)

Signed-off-by: NGanesh Vernekar <cs15btech11018@iith.ac.in>
上级 db445844
......@@ -1053,6 +1053,10 @@ load 1ms
res := qry.Exec(test.Context())
require.NoError(t, res.Err)
if expMat, ok := c.result.(Matrix); ok {
sort.Sort(expMat)
sort.Sort(res.Value.(Matrix))
}
require.Equal(t, c.result, res.Value, "query %q failed", c.query)
})
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册