Bryan Boreham
|
babfcfdd91
|
refactor: Move NewTestEngine into promqltest
And export `DefaultMaxSamplesPerQuery` so callers can replicate previous
behaviour.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
|
2024-05-08 16:07:28 +01:00 |
|
Bryan Boreham
|
b3c15d2246
|
test: clean up promqltest package references
So it nearly compiles.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
|
2024-05-08 13:42:55 +01:00 |
|
Bryan Boreham
|
9aa321d672
|
test: make field initializers explicit
Lint started complaining after I moved the file.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
|
2024-05-08 13:42:55 +01:00 |
|
Bryan Boreham
|
ccf73266f0
|
test: move promqltest tests together with the implementation
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
|
2024-05-08 13:42:55 +01:00 |
|
Bryan Boreham
|
11b27d5d22
|
test: move test files into new promqltest package
So that promql package does not bring in test-only dependencies.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
|
2024-05-08 13:42:55 +01:00 |
|