]> granicus.if.org Git - curl/commit
test1513: eliminated race condition in test run
authorDan Fandrich <dan@coneharvesters.com>
Sat, 21 Mar 2015 22:57:32 +0000 (23:57 +0100)
committerDan Fandrich <dan@coneharvesters.com>
Sat, 21 Mar 2015 23:03:44 +0000 (00:03 +0100)
commit148207e2d76c75dec101479adc947f1734c78139
treef00e6be21ddb49d9584ee9cef447933b769405ad
parent7f5a17044281bae546ff749543caa68c2a2443d6
test1513: eliminated race condition in test run

It seems that some systems (e.g. fairly consistently in some recent
Solaris autobuilds) would manage to get to the connect phase before the
progress callback was called, resulting in a CURLE_COULDNT_CONNECT
error. Reworked the test to point at a test server that never returns a
full result so the progress callback always gets a chance to be called
before the transfer can complete in some other way.
tests/data/test1513