Mercurial > hg
comparison tests/test-clone-stream-revlog-split.t @ 51955:b8528c8bebf5
tests: disable `worker.backgroundclose` to stabilize a test on Windows
TIL that `worker.enabled=0` doesn't prevent these workers from spinning up. At
any rate, there's already a whole lot of conditionalized output following
`cat client.log`, the placement of the "starting 4 threads for background file
closing" message seems unstable, and we don't care about those worker threads
here. Preventing the message is better for test maintenance.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 04 Oct 2024 12:53:02 -0400 |
parents | 0f26ee69cf36 |
children |
comparison
equal
deleted
inserted
replaced
51954:b6ce567d5bea | 51955:b8528c8bebf5 |
---|---|
66 | 66 |
67 Start a client doing a streaming clone | 67 Start a client doing a streaming clone |
68 | 68 |
69 $ ( \ | 69 $ ( \ |
70 > hg clone --debug --stream -U http://localhost:$HGPORT1 \ | 70 > hg clone --debug --stream -U http://localhost:$HGPORT1 \ |
71 > clone-while-split > client.log 2>&1; \ | 71 > clone-while-split --config worker.backgroundclose=0 > client.log 2>&1; \ |
72 > touch "$HG_TEST_STREAM_WALKED_FILE_3" \ | 72 > touch "$HG_TEST_STREAM_WALKED_FILE_3" \ |
73 > ) & | 73 > ) & |
74 | 74 |
75 Wait for the server to be done collecting data | 75 Wait for the server to be done collecting data |
76 | 76 |