Commit becfa8e
committed
test(data_plane): bias vectors away from zero in async_req fanout test
## Purpose
Backend tightened zero-vector validation — dense vectors with all-zero
values now return HTTP 400. The test generated `[0.0, 0.0]` for i=0,
causing CI failures in test_async_req_concurrent_fanout_rest.
## Solution
Changed both `[i * 0.1, i * 0.2]` expressions to
`[(i + 1) * 0.1, (i + 1) * 0.2]` so no vector in the range is
all-zero. The 8 distinct vectors remain orthogonal-ish; only the
all-zero edge case is avoided.1 parent 2a156bb commit becfa8e
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1862 | 1862 | | |
1863 | 1863 | | |
1864 | 1864 | | |
1865 | | - | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
1866 | 1868 | | |
1867 | 1869 | | |
1868 | 1870 | | |
| |||
1875 | 1877 | | |
1876 | 1878 | | |
1877 | 1879 | | |
1878 | | - | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
1879 | 1883 | | |
1880 | 1884 | | |
1881 | 1885 | | |
| |||
0 commit comments