Skip to content

Fix flaky db tests#7297

Merged
davidfowl merged 1 commit intomainfrom
davidfowl/fix-flaky-dbtests
Jan 28, 2025
Merged

Fix flaky db tests#7297
davidfowl merged 1 commit intomainfrom
davidfowl/fix-flaky-dbtests

Conversation

@davidfowl
Copy link
Copy Markdown
Contributor

@davidfowl davidfowl commented Jan 28, 2025

  • Passwords were not working well, in fact, it was a fluke they work in some cases

Fixes #7296

- Passwords were not working well, in fact, it was a fluke they work in some cases

Fixes 7296
@davidfowl davidfowl enabled auto-merge (squash) January 28, 2025 09:31
@davidfowl davidfowl disabled auto-merge January 28, 2025 09:31
@davidfowl davidfowl enabled auto-merge (squash) January 28, 2025 09:31
@davidfowl davidfowl disabled auto-merge January 28, 2025 10:40
@davidfowl davidfowl merged commit d31ffb7 into main Jan 28, 2025
@davidfowl davidfowl deleted the davidfowl/fix-flaky-dbtests branch January 28, 2025 10:40
var passwordParameter = builder1.AddParameter("pwd");
builder1.Configuration["Parameters:user"] = username;
builder1.Configuration["Parameters:pwd"] = password;
var usernameParameter = builder1.AddParameter("user", username);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I like this new code, it is much simpler now that we have these overloads.

But can you help me understand what wasn't working before this change? Adding the Parameter and setting the value via the Configuration should just work.

@github-actions github-actions Bot locked and limited conversation to collaborators Feb 28, 2025
@github-actions github-actions Bot added the area-integrations Issues pertaining to Aspire Integrations packages label Mar 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-integrations Issues pertaining to Aspire Integrations packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

flaky test: PostgreSQL.Tests.PostgresFunctionalTests.WithDataShouldPersistStateBetween

2 participants