Skip to content

Commit 89e016e

Browse files
committed
Minor.
1 parent 36119e5 commit 89e016e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

testdata/scripts/admin/profile/test-seconds.txtar

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ env NODEURL=http://localhost:$PORT
77
exec curl --retry 10 --retry-max-time 60 --retry-connrefused $NODEURL
88
exec chainlink --remote-node-url $NODEURL admin login -file creds --bypass-version-check
99

10+
# seconds=0: no CPU and trace profiles are created
1011
exec chainlink --remote-node-url $NODEURL admin profile -seconds 0 -output_dir ./profiles
11-
# no CPU and trace profiles are created
1212
stderr 'Collecting profiles: \[allocs block cmdline goroutine heap mutex threadcreate\]'
13-
# CPU and trace profiles are created
13+
14+
# seconds=1: CPU and trace profiles are created
1415
exec chainlink --remote-node-url $NODEURL admin profile -seconds 1 -output_dir ./profiles
1516
stderr 'Collecting profiles: \[allocs block cmdline goroutine heap mutex threadcreate profile trace\]'
1617

0 commit comments

Comments
 (0)