summaryrefslogtreecommitdiff
path: root/erts/emulator/test/driver_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <lukas@erlang.org>2019-04-02 16:21:44 +0200
committerLukas Larsson <lukas@erlang.org>2019-04-09 14:29:10 +0200
commitb61b738b0d7b6b3dff21b1a5c98c547791d24fb3 (patch)
tree9095dce57163be3c98c820fa084e65e61c8d4e55 /erts/emulator/test/driver_SUITE.erl
parent0da1be58ca21279e38d41527e4566d4d1d3ff37b (diff)
downloaderlang-b61b738b0d7b6b3dff21b1a5c98c547791d24fb3.tar.gz
erts: Fix driver_SUITE:use_fallback_pollset
We don't check for io errors as the pollset will be unstable.
Diffstat (limited to 'erts/emulator/test/driver_SUITE.erl')
-rw-r--r--erts/emulator/test/driver_SUITE.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/emulator/test/driver_SUITE.erl b/erts/emulator/test/driver_SUITE.erl
index bb0f3498ab..cbed71cedd 100644
--- a/erts/emulator/test/driver_SUITE.erl
+++ b/erts/emulator/test/driver_SUITE.erl
@@ -998,7 +998,9 @@ chkio_test({erts_poll_info, Before},
During = get_check_io_total(erlang:system_info(check_io)),
erlang:display(During),
- 0 = element(1, erts_debug:get_internal_state(check_io_debug)),
+ [0 = element(1, erts_debug:get_internal_state(check_io_debug)) ||
+ %% The pollset is not stable when running the fallback testcase
+ Test /= ?CHKIO_USE_FALLBACK_POLLSET],
io:format("During test: ~p~n", [During]),
chk_chkio_port(Port),
case erlang:port_control(Port, ?CHKIO_STOP, "") of