Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

vegur_roundtrip_SUITE:large_chunked_request_response_interrupt has non-deterministic failures #118

@evanmcc

Description

@evanmcc
=== Ended at 2014-12-18 10:08:48
=== location [{vegur_roundtrip_SUITE,recv_until_close,2017},
              {vegur_roundtrip_SUITE,large_chunked_request_response_interrupt,1907},
              {test_server,ts_tc,1415},
              {test_server,run_test_case_eval1,1028},
              {test_server,run_test_case_eval,976}]
=== reason = timeout
  in function  vegur_roundtrip_SUITE:recv_until_close/1 (vegur_roundtrip_SUITE.erl, line 2017)
  in call from vegur_roundtrip_SUITE:large_chunked_request_response_interrupt/1 (vegur_roundtrip_SUITE.erl, line 1907)
  in call from test_server:ts_tc/3 (test_server.erl, line 1415)
  in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1028)
  in call from test_server:run_test_case_eval/9 (test_server.erl, line 976)

ignore the bogus line numbers and error reason, I have some debugging code in the test. The gen_tcp:recv/3 is failing eventually at Timeout = 100, 300, and 10000. I didn't try anything higher. I don't have good counts on how often this happens, but in all cases less than 5 minutes. just do:

 while [ $? -eq 0 ]; do ct_run -dir test/ -logdir logs -pa ebin -pa deps/*/ebin; done

and you'll get a failure before too long.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions