aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-08-31 09:53:07 +0200
committerLukas Larsson <[email protected]>2017-08-31 09:53:07 +0200
commitcd5217099530419e8d53a1f96d9e477ac6620417 (patch)
treea51a0ec428bbbc5541587e15a1410a0f98bb642a /erts/emulator/test
parent38d4f01004c28bf19b4cdb1902b5706b0069d411 (diff)
parent18144987906393df88a85d1cc5a7a2b9773f6dda (diff)
downloadotp-cd5217099530419e8d53a1f96d9e477ac6620417.tar.gz
otp-cd5217099530419e8d53a1f96d9e477ac6620417.tar.bz2
otp-cd5217099530419e8d53a1f96d9e477ac6620417.zip
Merge branch 'lukas/erts/port_SUITE_dropped_commands_fix' into maint
* lukas/erts/port_SUITE_dropped_commands_fix: erts: Fix port_SUITE:dropped_commands tc
Diffstat (limited to 'erts/emulator/test')
-rw-r--r--erts/emulator/test/port_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/test/port_SUITE.erl b/erts/emulator/test/port_SUITE.erl
index c1e004c212..730a17d7e8 100644
--- a/erts/emulator/test/port_SUITE.erl
+++ b/erts/emulator/test/port_SUITE.erl
@@ -573,9 +573,10 @@ dropped_commands(Config, Outputv, Cmd) ->
ok.
dropped_commands_test(Cmd) ->
- Port = erlang:open_port({spawn_driver, "echo_drv"}, [{parallelism, true}]),
spawn_monitor(
fun() ->
+ Port = erlang:open_port({spawn_driver, "echo_drv"},
+ [{parallelism, true}]),
[spawn_link(fun() -> spin(Port, Cmd) end) || _ <- lists:seq(1,8)],
timer:sleep(5),
port_close(Port),