Empty the wallet startup systest output file before each launch (#5234) The start_wallet helper launched the wallet with a truncating redirection and polled the output file at once. Bash applies the redirections of a background command in the child after the fork, so a poll that ran before the child was scheduled read the "Peering port" line of the previous start, killed the new process before it had opened the file and reported success. The step that deletes the config then found none recreated, since nothing had run to write it. The parent shell now empties the file before the launch and the wallet appends to it, so a match can only come from the process just started.
__________
Type: commit
Hash: 1d78ad42e65ba3984efdcff6a3eb35dd5b9bf348
Created: 20 day(s) ago
__________
gr0v1ty/nano-node:1d78ad42e65ba3984efdcff6a3eb35dd5b9bf348
| Test Case | Status | Duration | Median Deviation | Log | Graph |
|---|---|---|---|---|---|
| 5n4pr_conf_10k_bintree | FAIL | N/A | N/A | GitHub job logs | - |
| 5n4pr_conf_10k_change | FAIL | N/A | N/A | GitHub job logs | - |
| 5n4pr_conf_change_dependant | FAIL | N/A | N/A | GitHub job logs | - |
| 5n4pr_conf_change_independant | FAIL | N/A | N/A | GitHub job logs | - |
| 5n4pr_conf_send_dependant | FAIL | N/A | N/A | GitHub job logs | - |
| 5n4pr_conf_send_independant | FAIL | N/A | N/A | GitHub job logs | - |
| 5n4pr_rocks_10k_bintree | FAIL | N/A | N/A | GitHub job logs | - |
| 5n4pr_rocks_10k_change | FAIL | N/A | N/A | GitHub job logs | - |