Skip to content

Commit

Permalink
try to fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
jbbjarnason committed Jun 26, 2024
1 parent cda0fc2 commit 5b61dc3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion exes/themis/tests/themis_integration_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ int main(int argc, char** argv) {
expect(!err) << err.message();
t.ran[0] = true;
});
t.ctx.run_for(2ms);
for (std::size_t i{}; i < 6; ++i) {

Check failure on line 100 in exes/themis/tests/themis_integration_test.cpp

View workflow job for this annotation

GitHub Actions / build and run tests (clang-debug)

declaration shadows a local variable [-Werror,-Wshadow]

Check failure on line 100 in exes/themis/tests/themis_integration_test.cpp

View workflow job for this annotation

GitHub Actions / build and run tests (clang-release)

declaration shadows a local variable [-Werror,-Wshadow]

Check failure on line 100 in exes/themis/tests/themis_integration_test.cpp

View workflow job for this annotation

GitHub Actions / build and run tests (clang-debug-dynamic)

declaration shadows a local variable [-Werror,-Wshadow]
t.ctx.run_one_for(2ms);
}
expect(t.ran[0]);
t.client.list_alarms([&](const std::error_code& err, std::vector<tfc::snitch::api::alarm> alarms) {
expect(!err) << err.message();
Expand Down

0 comments on commit 5b61dc3

Please sign in to comment.