aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-05-30 16:18:10 +0200
committerBjörn Gustavsson <[email protected]>2017-06-03 08:45:46 +0200
commit94e8b18640304bb20dc591a459802ba99dbbd39e (patch)
tree1a08ef0b22d51c5217db4922fd144c4cb3016d8e
parentf5c6195f7cfaea66ab3137ba5fa30f90626c8213 (diff)
downloadotp-94e8b18640304bb20dc591a459802ba99dbbd39e.tar.gz
otp-94e8b18640304bb20dc591a459802ba99dbbd39e.tar.bz2
otp-94e8b18640304bb20dc591a459802ba99dbbd39e.zip
Make bulk_send_bigbig/1 purely informational
bulk_send_bigbig/1 sometimes fails even if there is nothing wrong. Stop testing the ratio, and just return information about the speed and number of monitor messages. The testcase will still serve as a smoke test of the +zdbbl option.
-rw-r--r--erts/emulator/test/distribution_SUITE.erl10
1 files changed, 1 insertions, 9 deletions
diff --git a/erts/emulator/test/distribution_SUITE.erl b/erts/emulator/test/distribution_SUITE.erl
index 78d67ef2ae..dc7afa381b 100644
--- a/erts/emulator/test/distribution_SUITE.erl
+++ b/erts/emulator/test/distribution_SUITE.erl
@@ -165,15 +165,7 @@ bulk_send_bigbig(Config) when is_list(Config) ->
[Rate1,Rate2,MonitorCount1,
MonitorCount2,Ratio]),
Comment = lists:flatten(Comment0),
- if
- %% A somewhat arbitrary ratio, but hopefully one that will
- %% accommodate a wide range of CPU speeds.
- Ratio > 8.0 ->
- {comment,Comment};
- true ->
- io:put_chars(Comment),
- ct:fail(ratio_too_low)
- end.
+ {comment,Comment}.
bulk_sendsend2(Terms, BinSize, BusyBufSize) ->
ct:timetrap({seconds, 30}),