Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
no zombie forks a test criteria
  • Loading branch information
scottwalters committed May 3, 2011
1 parent d6ad085 commit 3e59d0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions t/AssetHelper/ChangeUrl.t
Expand Up @@ -23,6 +23,8 @@ use WebGUI::Session;
use WebGUI::AssetHelper::ChangeUrl;
use WebGUI::Test::Mechanize;

$SIG{HUP} = sub { use Carp; confess "hup"; };

#----------------------------------------------------------------------------
# Init
my $session = WebGUI::Test->session;
Expand Down
3 changes: 2 additions & 1 deletion t/AssetHelper/ExportHtml.t
Expand Up @@ -83,7 +83,8 @@ $mech->submit_form_ok({
fields => {
},
});
WebGUI::Test->waitForAllForks;

ok(WebGUI::Test->waitForAllForks(10), "Forks finished");

ok( -e File::Spec->catfile( $dir->dirname, 'top', 'index.html' ), 'top export exists' );
ok( -e File::Spec->catfile( $dir->dirname, 'top', 'child', 'index.html' ), 'child export exists' );
Expand Down

0 comments on commit 3e59d0f

Please sign in to comment.