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 {
2323 VpcFirewallRuleUpdate ,
2424} from './__generated__/Api'
2525
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
2727
2828export const MAX_NICS_PER_INSTANCE = 8
2929
3030export const INSTANCE_MAX_CPU = 64
3131export const INSTANCE_MIN_RAM_GiB = 1
32- export const INSTANCE_MAX_RAM_GiB = 1024
32+ export const INSTANCE_MAX_RAM_GiB = 1536
3333
3434export const MIN_DISK_SIZE_GiB = 1
3535/**
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
3737 * @see https://github.com/oxidecomputer/omicron/issues/3212#issuecomment-1634497344
3838 */
3939export 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 }) => {
634634 // make sure it's not clamping the value
635635 await expect ( cpu ) . toHaveValue ( '999' )
636636
637- await memory . fill ( '1025 ' )
637+ await memory . fill ( '1537 ' )
638638
639639 const submitButton = page . getByRole ( 'button' , { name : 'Create instance' } )
640640
641641 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 ( )
643643
644644 await expect ( cpuMsg ) . toBeHidden ( )
645645 await expect ( memMsg ) . toBeHidden ( )
You can’t perform that action at this time.
0 commit comments