Skip to content

Improve sequencing server tests to login as test user before tests start#1735

Merged
dandelany merged 2 commits into
developfrom
fix/sequencing-tests-login
Sep 4, 2025
Merged

Improve sequencing server tests to login as test user before tests start#1735
dandelany merged 2 commits into
developfrom
fix/sequencing-tests-login

Conversation

@dandelany
Copy link
Copy Markdown
Collaborator

Related to #1636 and NASA-AMMOS/plandev-gateway#132

In general, with the sequencing tests, they may be run in parallel, and multiple tests all try to run the login function in parallel. If the user doesn't exist yet, this may result in multiple attempts to create it. By logging in during the global test setup, we can ensure that the user is created and can login before any tests start running.

@dandelany dandelany requested a review from a team as a code owner September 4, 2025 00:59
@dandelany dandelany requested review from Mythicaeda and mattdailis and removed request for DavidLegg and skovati September 4, 2025 00:59
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Sep 4, 2025

Copy link
Copy Markdown
Contributor

@Mythicaeda Mythicaeda left a comment

Choose a reason for hiding this comment

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

LGTM!

I'm really curious if we forcibly rerun the test workflow on this branch if the tests flake at all, since it looks like they passed first time this time (❗)

@dandelany dandelany merged commit b089d38 into develop Sep 4, 2025
13 checks passed
@dandelany dandelany deleted the fix/sequencing-tests-login branch September 4, 2025 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants