You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given build --hazelcast_node=127.0.0.1:5701 --spawn_strategy=remote in the .bazelrc config, all tests run with bazel test will report failures (even though the log suggests they succeeded). On the other hand, bazel build //... completes successfully with the same options. Adding test --spawn_strategy=sandboxed to .bazelrc will allow the tests to succeed again.
The text was updated successfully, but these errors were encountered:
All spawn strategies already treat all normal outputs as optional. Bazel checks
at the action level whether all action outputs are created, but does not check
at the spawn level. Spawn.getOptionalOutputs is therefore unnecessary, and
removed in this change.
The only place where this was set was in StandaloneTestStrategy, which now
specifies the full set of outputs, which is now computed by TestRunnerAction.
The internal test strategy implementations are also updated in this change.
While I'm at it, also remove the use of BaseSpawn and use SimpleSpawn instead.
This may go some way towards fixing #1413 and #942.
--
PiperOrigin-RevId: 149397100
MOS_MIGRATED_REVID=149397100
Given
build --hazelcast_node=127.0.0.1:5701 --spawn_strategy=remote
in the.bazelrc
config, all tests run withbazel test
will report failures (even though the log suggests they succeeded). On the other hand,bazel build //...
completes successfully with the same options. Addingtest --spawn_strategy=sandboxed
to.bazelrc
will allow the tests to succeed again.The text was updated successfully, but these errors were encountered: