-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix device test failures #1307
Fix device test failures #1307
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about that! We haven't had reliable "actually run the test on device" CI for so long (but it hasn't been an issue since we haven't run much low level stuff). I'll make sure to run future tests on wildstyle before pushing if we don't have CI.
Maybe you can also incorporate #1303 (comment) into this PR?
@@ -256,7 +256,7 @@ TEST_F(TestTrackPartitionEm3Stepper, | |||
return std::is_partitioned( | |||
span.begin(), span.end(), [&track_status](auto const track_slot) { | |||
return track_status[TrackSlotId{track_slot}] | |||
== TrackStatus::alive; | |||
!= TrackStatus::inactive; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is because I must not have run this test on device—sorry!
@@ -249,7 +249,7 @@ TEST_F(TestEm3DiagnosticTest, TEST_IF_CELER_DEVICE(device)) | |||
EXPECT_VEC_EQ(expected_steps, result.steps); | |||
|
|||
EXPECT_JSON_EQ( | |||
R"json({"_category":"result","_index":["particle","action"],"_label":"action-diagnostic","actions":[[0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,9,0],[0,0,0,996,0,0,2,0,0,0,0,20,509,0,0,0,0,0,0,0,521,0],[0,0,0,902,0,0,10,0,0,0,9,20,577,0,0,0,0,0,0,0,518,0]]})json", | |||
R"json({"_category":"result","_index":["particle","action"],"_label":"action-diagnostic","actions":[[0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,9,0],[0,0,0,996,0,0,2,0,0,0,0,20,509,0,0,0,0,0,0,0,0,521,0],[0,0,0,902,0,0,10,0,0,0,9,20,577,0,0,0,0,0,0,0,0,518,0]]})json", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same 😞
…hecker device test
I'm seeing a few test failures after #1294 and #1303 (not sure why the CI didn't catch them). There's still one failure in the
StatusChecker
test I haven't looked into yet.