Skip to content

Fix flaky instrumentation tests (#4726)#4931

Merged
Guardiola31337 merged 1 commit intorelease-v2.0from
pg-cp-4726
Oct 1, 2021
Merged

Fix flaky instrumentation tests (#4726)#4931
Guardiola31337 merged 1 commit intorelease-v2.0from
pg-cp-4726

Conversation

@Guardiola31337
Copy link
Copy Markdown
Contributor

Description

CP #4726

Fix flaky instrumentation tests

  • pull / push history files from device to gcloud test bucket
  • use mapbox history test rule and set /sdcard/Download/mapbox_test as directory to pull from
  • add logs and relaxed expected coordinates
  • capture exceptions and retrieve history files up to that point
  • mapbox navigation creation (setup) run on main sync

- pull / push history files from device to gcloud test bucket
- use mapbox history test rule and set /sdcard/Download/mapbox_test as directory to pull from
- add logs and relaxed expected coordinates
- capture exceptions and retrieve history files up to that point
- mapbox navigation creation (setup) run on main sync
@Guardiola31337 Guardiola31337 added skip changelog Should not be added into version changelog. op-ex Refactoring, Tech Debt or any other operational excellence work. labels Oct 1, 2021
@Guardiola31337 Guardiola31337 added this to the v2.0 milestone Oct 1, 2021
@Guardiola31337 Guardiola31337 requested a review from a team October 1, 2021 13:08
@Guardiola31337 Guardiola31337 self-assigned this Oct 1, 2021
@Guardiola31337 Guardiola31337 enabled auto-merge (squash) October 1, 2021 13:13
routeOptions: RouteOptions
) {
// no impl
logE(Tag("DEBUG"), Message("onFailure reasons=$reasons"))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very interesting Tags in the PR 😄 could you rename them to a specific

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a 🍒

And it's tests (we can fix in a separate PR if needed) 😅

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, I know, but it's still an issue :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you cut a ticket? BTW Using DEBUG in tests is not a problem for me 😬

}
countDownLatch.await()
}
throw t
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

throw can happen before runOnMainSync finished

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be executed synchronously 🤔

In any case, is that a problem? As long as it gets executed we should be good.

@Guardiola31337 Guardiola31337 merged commit 8ab4980 into release-v2.0 Oct 1, 2021
@Guardiola31337 Guardiola31337 deleted the pg-cp-4726 branch October 1, 2021 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

op-ex Refactoring, Tech Debt or any other operational excellence work. skip changelog Should not be added into version changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants