Commit 3b00897
committed
perf: reduce search batch test from 10k to 100 documents
Reduce the document count in the batch-size search test (test 3) from
10,000 to 100 documents and re-enable it. Test 3 was previously gated
off because 10k documents made the search1 job a ~27-minute long-pole.
At 100 documents (batch size 20, preserving the 5:1 ratio), the test
exercises the same batch-write code paths without the excessive runtime.
Changes:
- bigDF: createTestData(10000) -> createTestData(100)
- batchSize: 2000 -> 20
- assertSize: 10000 -> 100
- testsToRun: Set(1, 2) -> Set(1, 2, 3) [re-enabled]1 parent 895752c commit 3b00897
1 file changed
Lines changed: 4 additions & 4 deletions
File tree
- cognitive/src/test/scala/com/microsoft/azure/synapse/ml/services/search/split1
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
| 300 | + | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
| 329 | + | |
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
| 333 | + | |
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| |||
0 commit comments