Skip to content
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

test: wait for background logout #9340

Merged
merged 2 commits into from
May 8, 2024
Merged

Conversation

djanicekpach
Copy link
Contributor

@djanicekpach djanicekpach commented May 8, 2024

test: wait for background logout

Ticket

INFENG-692

Description

there’s some potential flake with dev.setServerAddress. It runs synchronously, but fires an async logout request in the background, so the test might continue on before the logout occurs.
This will wait after reload for the network to be quiet for 500ms after the reload which should mean we have finished logout, and can login for the test.

Test Plan

ci passes

Checklist

  • Changes have been manually QA'd
  • User-facing API changes need the "User-facing API Change" label.
  • Release notes should be added as a separate file under docs/release-notes/.
    See Release Note for details.
  • Licenses should be included for new code which was copied and/or modified from any external code.

@djanicekpach djanicekpach requested a review from a team as a code owner May 8, 2024 18:59
@cla-bot cla-bot bot added the cla-signed label May 8, 2024
Copy link

netlify bot commented May 8, 2024

Deploy Preview for determined-ui ready!

Name Link
🔨 Latest commit 9eab195
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/663bcc272ee35e0008e1f004
😎 Deploy Preview https://deploy-preview-9340--determined-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@djanicekpach djanicekpach merged commit b868230 into main May 8, 2024
77 of 92 checks passed
@djanicekpach djanicekpach deleted the djanicek/wait-until-logout branch May 8, 2024 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants