Commit fdb1106
Fix flakey MaxChunkBytesPerQueryLimit test (#4258)
* Add replication factor flag to the prepConfig Struct. Use replication factor 2 in TestDistributor_QueryStream_ShouldReturnErrorIfMaxChunkBytesPerQueryLimitIsReached test to make the test stable
Signed-off-by: Tyler Reid <tyler.reid@grafana.com>
* Add comment to explain replication factor default.
Signed-off-by: Tyler Reid <tyler.reid@grafana.com>
* Update comment pkg/distributor/distributor_test.go
Co-authored-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Tyler Reid <tyler.reid@grafana.com>
Co-authored-by: Marco Pracucci <marco@pracucci.com>1 parent 5b70304 commit fdb1106
1 file changed
+16
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1012 | 1012 | | |
1013 | 1013 | | |
1014 | 1014 | | |
| 1015 | + | |
| 1016 | + | |
1015 | 1017 | | |
1016 | | - | |
1017 | | - | |
1018 | | - | |
1019 | | - | |
1020 | | - | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
1021 | 1024 | | |
1022 | 1025 | | |
1023 | 1026 | | |
| |||
1893 | 1896 | | |
1894 | 1897 | | |
1895 | 1898 | | |
| 1899 | + | |
1896 | 1900 | | |
1897 | 1901 | | |
1898 | 1902 | | |
| |||
1935 | 1939 | | |
1936 | 1940 | | |
1937 | 1941 | | |
| 1942 | + | |
| 1943 | + | |
| 1944 | + | |
| 1945 | + | |
| 1946 | + | |
| 1947 | + | |
1938 | 1948 | | |
1939 | 1949 | | |
1940 | 1950 | | |
1941 | 1951 | | |
1942 | 1952 | | |
1943 | | - | |
| 1953 | + | |
1944 | 1954 | | |
1945 | 1955 | | |
1946 | 1956 | | |
| |||
0 commit comments