Commit d1ab8022 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

test: hack around travis being slow

this is a hack around travis key-gen being really slow.
One option would be to add the --key-bits option to daemon
as well. Another option would be to find a better way to
wait for the output, rather than waiting n seconds.

cc @chriscool thoughts?
parent 3e96f481
......@@ -39,7 +39,7 @@ test_cmp_repeat_10_sec() {
test_cmp "$1" "$2"
}
test_wait_output_n_lines_20_sec() {
test_wait_output_n_lines_60_sec() {
echo "$2" >expected_waitn
for i in 1 2 3 4 5 6 7 8 9 10
do
......
......@@ -17,7 +17,7 @@ test_expect_success "ipfs daemon --init launches" '
# output. but we can't yet compare it because we dont have the peer ID (config)
test_expect_success "initialization ended" '
IPFS_PID=$! &&
test_wait_output_n_lines_20_sec actual_init 6
test_wait_output_n_lines_60_sec actual_init 6
'
# this is lifted straight from t0020-init.sh
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment