Skip to content

Commit

Permalink
Fix call.system runtime test
Browse files Browse the repository at this point in the history
Recent changes to the exit() builtin have made the action
async. I haven't fully debugged the issue yet but I have
theories and repro cases that demonstrate that it's likely
heavy loads can delay the async exit.

For now, decrease the amount of load for this test.
  • Loading branch information
danobi authored and ajor committed Jun 2, 2019
1 parent 8afbc22 commit 3b4f578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/runtime/call
Expand Up @@ -41,7 +41,7 @@ TIMEOUT 5
AFTER sleep 0.1

NAME system
RUN bpftrace --unsafe -v -e 'i:ms:1 { system("echo 'ok_system'"); exit();}'
RUN bpftrace --unsafe -v -e 'i:ms:100 { system("echo 'ok_system'"); exit();}'
EXPECT ok_system
TIMEOUT 5

Expand Down

0 comments on commit 3b4f578

Please sign in to comment.