Skip to content

Commit 0f5ae7e

Browse files
test: [M3-8890] - Fix flaky DBaaS resize test related to recent factory changes (#11238)
* Set DBaaS resize test mock database instance platform to `'rdbms-legacy'` * Added changeset: Fix DBaaS resize tests that fail on first attempt and succeed on second
1 parent 292ae6c commit 0f5ae7e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@linode/manager": Tests
3+
---
4+
5+
Fix DBaaS resize tests that fail on first attempt and succeed on second ([#11238](https://github.com/linode/manager/pull/11238))

packages/manager/cypress/e2e/core/databases/resize-database.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const resizeDatabase = (initialLabel: string) => {
5050
describe('Resizing existing clusters', () => {
5151
databaseConfigurationsResize.forEach(
5252
(configuration: databaseClusterConfiguration) => {
53-
describe(`Resizes a ${configuration.linodeType} ${configuration.engine} v${configuration.version}.x ${configuration.clusterSize}-node cluster`, () => {
53+
describe(`Resizes a ${configuration.linodeType} ${configuration.engine} v${configuration.version}.x ${configuration.clusterSize}-node cluster (legacy DBaaS)`, () => {
5454
/*
5555
* - Tests active database resize UI flows using mocked data.
5656
* - Confirms that users can resize an existing database.
@@ -70,6 +70,7 @@ describe('Resizing existing clusters', () => {
7070
cluster_size: 3,
7171
status: 'active',
7272
allow_list: [allowedIp],
73+
platform: 'rdbms-legacy',
7374
});
7475

7576
// Mock account to ensure 'Managed Databases' capability.

0 commit comments

Comments
 (0)