diff options
author | David McFarland <corngood@gmail.com> | 2024-04-22 14:26:09 -0300 |
---|---|---|
committer | David McFarland <corngood@gmail.com> | 2024-05-04 19:14:40 -0300 |
commit | 4d00d19cd0a63ef9ba750c832a3dd62640e2c3c8 (patch) | |
tree | a1bfbdfb7742a78eb957789457c7ce789c59660c /pkgs/development/compilers/dotnet | |
parent | 26c3d6878a3c30b726fba660bf31d22adef2edcf (diff) |
dotnet: fix race condition in web test
Diffstat (limited to 'pkgs/development/compilers/dotnet')
-rw-r--r-- | pkgs/development/compilers/dotnet/common.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/compilers/dotnet/common.nix b/pkgs/development/compilers/dotnet/common.nix index 69503147ea073..1111409a02c61 100644 --- a/pkgs/development/compilers/dotnet/common.nix +++ b/pkgs/development/compilers/dotnet/common.nix @@ -134,6 +134,7 @@ expect <<"EOF" set status 1 spawn $env(src)/test + proc abort { } { exit 2 } expect_before default abort expect -re {Now listening on: ([^\r]+)\r} { set url $expect_out(1,string) @@ -145,6 +146,8 @@ exit 1 } send \x03 + expect_before timeout abort + expect eof catch wait result exit [lindex $result 3] EOF |