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: [M3-8890] - Fix flaky DBaaS resize test related to recent factory changes #11238

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11238-tests-1731115121832.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tests
---

Fix DBaaS resize tests that fail on first attempt and succeed on second ([#11238](https://github.com/linode/manager/pull/11238))
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const resizeDatabase = (initialLabel: string) => {
describe('Resizing existing clusters', () => {
databaseConfigurationsResize.forEach(
(configuration: databaseClusterConfiguration) => {
describe(`Resizes a ${configuration.linodeType} ${configuration.engine} v${configuration.version}.x ${configuration.clusterSize}-node cluster`, () => {
describe(`Resizes a ${configuration.linodeType} ${configuration.engine} v${configuration.version}.x ${configuration.clusterSize}-node cluster (legacy DBaaS)`, () => {
/*
* - Tests active database resize UI flows using mocked data.
* - Confirms that users can resize an existing database.
Expand All @@ -70,6 +70,7 @@ describe('Resizing existing clusters', () => {
cluster_size: 3,
status: 'active',
allow_list: [allowedIp],
platform: 'rdbms-legacy',
});

// Mock account to ensure 'Managed Databases' capability.
Expand Down