-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
timelimit for sendPakckets autotest stage. Packet receiving rewritten.
New implementation bases on whole stage time limit (2s default equivalent of sum of waits used before) instead of hardcoded 1s header wait and 1s body wait. Fixes logic of expecting read call on SOCK_STREAM to return whole header in one call and body on another single call. Adds ability to override default 2s timelimit by adding a key-value pair timelimit: <unsinged int seconds> in sendPackets stage YAML.
- Loading branch information
1 parent
0b22386
commit e4e45b5
Showing
2 changed files
with
85 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters