Commit 48080c9
committed
Fix device list for test_raft_repl_dev.
Previous code will add `ndevices` simulated drive into device list
which make each replica go with one real drive and ndevices simulated
drive.
Those simulated drives are identified as FAST, meta/log were on them.
Due to the very limited size of simulated drive, we can hit size limit
in long running test.
Fixing by honor input from hs_repl_test_common.
After this fix, if only one drive passed in for a replica of
test_raft_repl_dev, that drive will be used as FAST. All services
will be started on that real drive.
Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>1 parent 3f3c0f3 commit 48080c9
File tree
3 files changed
+16
-4
lines changed- src/tests/test_common
3 files changed
+16
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
347 | 355 | | |
348 | 356 | | |
349 | 357 | | |
| |||
425 | 433 | | |
426 | 434 | | |
427 | 435 | | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
428 | 439 | | |
429 | 440 | | |
430 | 441 | | |
| |||
444 | 455 | | |
445 | 456 | | |
446 | 457 | | |
447 | | - | |
| 458 | + | |
| 459 | + | |
448 | 460 | | |
449 | 461 | | |
450 | 462 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
| 172 | + | |
172 | 173 | | |
173 | 174 | | |
174 | 175 | | |
| |||
0 commit comments