aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/test/crashdump_viewer_SUITE.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2014-01-08 14:47:11 +0100
committerDan Gudmundsson <[email protected]>2014-01-27 16:13:57 +0100
commit61115ab061a21912743c62de19ad0eda57224545 (patch)
treeabd1b4f8e0ee002674edeeb26d87167b9c877eb5 /lib/observer/test/crashdump_viewer_SUITE.erl
parent9da4c7b4e41c325569d2576fa4c55568a1f1cfa2 (diff)
downloadotp-61115ab061a21912743c62de19ad0eda57224545.tar.gz
otp-61115ab061a21912743c62de19ad0eda57224545.tar.bz2
otp-61115ab061a21912743c62de19ad0eda57224545.zip
observer: Fix progress dialog creation
Should not call showModal on a wxProgressdialog it is already display (see doc) and it hangs on MacOSX until someone presses the menu.
Diffstat (limited to 'lib/observer/test/crashdump_viewer_SUITE.erl')
-rw-r--r--lib/observer/test/crashdump_viewer_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/observer/test/crashdump_viewer_SUITE.erl b/lib/observer/test/crashdump_viewer_SUITE.erl
index 3c8d1856b1..7a582436b4 100644
--- a/lib/observer/test/crashdump_viewer_SUITE.erl
+++ b/lib/observer/test/crashdump_viewer_SUITE.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2003-2013. All Rights Reserved.
+%% Copyright Ericsson AB 2003-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -132,9 +132,9 @@ start_stop(Config) when is_list(Config) ->
true = is_pid(whereis(cdv_atom_cb)),
true = is_pid(whereis(cdv_dist_cb)),
true = is_pid(whereis(cdv_mod_cb)),
- timer:sleep(1000), % give some time to live
+ timer:sleep(5000), % give some time to live
ok = crashdump_viewer:stop(),
- timer:sleep(100), % give some time to stop
+ timer:sleep(1000), % give some time to stop
undefined = whereis(crashdump_viewer_server),
undefined = whereis(cdv_wx),
ProcsAfter=length(processes()),