File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -23,17 +23,17 @@ import type {
23
23
VpcFirewallRuleUpdate ,
24
24
} from './__generated__/Api'
25
25
26
- // API limits encoded in https://github.com/oxidecomputer/omicron/blob/b7af5f8e /nexus/src/app/mod.rs
26
+ // API limits encoded in https://github.com/oxidecomputer/omicron/blob/aec3cd8d /nexus/src/app/mod.rs
27
27
28
28
export const MAX_NICS_PER_INSTANCE = 8
29
29
30
30
export const INSTANCE_MAX_CPU = 64
31
31
export const INSTANCE_MIN_RAM_GiB = 1
32
- export const INSTANCE_MAX_RAM_GiB = 1024
32
+ export const INSTANCE_MAX_RAM_GiB = 1536
33
33
34
34
export const MIN_DISK_SIZE_GiB = 1
35
35
/**
36
- * Disk size limited to 1023 as that's the maximum we can safely allocate right now
36
+ * Disk size limited to 1023 as that's the maximum we can safely allocate right now
37
37
* @see https://github.com/oxidecomputer/omicron/issues/3212#issuecomment-1634497344
38
38
*/
39
39
export const MAX_DISK_SIZE_GiB = 1023
Original file line number Diff line number Diff line change @@ -634,12 +634,12 @@ test('Validate CPU and RAM', async ({ page }) => {
634
634
// make sure it's not clamping the value
635
635
await expect ( cpu ) . toHaveValue ( '999' )
636
636
637
- await memory . fill ( '1025 ' )
637
+ await memory . fill ( '1537 ' )
638
638
639
639
const submitButton = page . getByRole ( 'button' , { name : 'Create instance' } )
640
640
641
641
const cpuMsg = page . getByText ( 'Can be at most 64' ) . first ( )
642
- const memMsg = page . getByText ( 'Can be at most 1024 GiB' ) . first ( )
642
+ const memMsg = page . getByText ( 'Can be at most 1536 GiB' ) . first ( )
643
643
644
644
await expect ( cpuMsg ) . toBeHidden ( )
645
645
await expect ( memMsg ) . toBeHidden ( )
You can’t perform that action at this time.
0 commit comments