Fixing unstable test.

This commit is contained in:
Robin Sommer 2014-10-24 13:39:44 -07:00
parent 4216a5eb1c
commit fb56d3f0bb
4 changed files with 7 additions and 12 deletions

View file

@ -1,4 +1,8 @@
2.3-255 | 2014-10-24 13:39:44 -0700
* Fixing unstable active-http test. (Robin Sommer)
2.3-254 | 2014-10-24 11:40:51 -0700 2.3-254 | 2014-10-24 11:40:51 -0700
* Fix active-http.bro to deal reliably with empty server responses, * Fix active-http.bro to deal reliably with empty server responses,

View file

@ -1 +1 @@
2.3-254 2.3-255

View file

@ -1,10 +0,0 @@
test1, [code=200, msg=OK^M, body=It works!, headers={
[Server] = 1.0,
[Content-type] = text/plain,
[Date] = July 22, 2013
}]
test2, [code=200, msg=OK^M, body=, headers={
[Server] = 1.0,
[Content-type] = text/plain,
[Date] = July 22, 2013
}]

View file

@ -5,7 +5,8 @@
# @TEST-EXEC: sleep 3 # @TEST-EXEC: sleep 3
# @TEST-EXEC: btest-bg-run bro bro -b %INPUT # @TEST-EXEC: btest-bg-run bro bro -b %INPUT
# @TEST-EXEC: btest-bg-wait 15 # @TEST-EXEC: btest-bg-wait 15
# @TEST-EXEC: btest-diff bro/.stdout # @TEST-EXEC: cat bro/.stdout | sort >output
# @TEST-EXEC: btest-diff output
@load base/utils/active-http @load base/utils/active-http
@load base/frameworks/communication # let network-time run. otherwise there are no heartbeats... @load base/frameworks/communication # let network-time run. otherwise there are no heartbeats...