-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
Version information:
› git log | head -n1
commit 6ae5c95b246ce61ec4382f260ad99ae739967786macOS, 12.3.1, Intel,
Running on local docker,
Description:
When I run the go example it ends with failed outcome:
testground run single --plan=example --testcase=output --builder=docker:go --runner=local:docker --instances=1This is somewhat expected: these examples do not use the InitializedTestCase wrapper.
Without this wrapper, the test won't send the "success message" to testground and it'll assume the test failed.
See also: #1303 (comment)
One fix is to add the wrapper to the tests:
- tests: https://github.com/testground/testground/blob/master/plans/example/main.go
- example: https://github.com/testground/testground/blob/master/plans/network/main.go#L9
A more thoughtful fix might be to make InitializedTestCase the new default, see:
https://github.com/testground/sdk-go/blob/d78f61eccaa37b0d941f98650bce5dbb8fd7b7f1/run/invoker.go#L46-L65
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels