Skip to content

Commit

Permalink
fix: fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
1101-1 committed Oct 23, 2024
1 parent 6ab45f4 commit 0666a60
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 222 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,227 +123,6 @@
"legacy-bios",
"uefi"
]
},
{
"InstanceType": "i3en.3xlarge",
"CurrentGeneration": true,
"FreeTierEligible": false,
"SupportedUsageClasses": [
"on-demand",
"spot"
],
"SupportedRootDeviceTypes": [
"ebs"
],
"SupportedVirtualizationTypes": [
"hvm"
],
"BareMetal": false,
"Hypervisor": "nitro",
"ProcessorInfo": {
"SupportedArchitectures": [
"x86_64"
],
"SustainedClockSpeedInGhz": 3.1
},
"VCpuInfo": {
"DefaultVCpus": 12,
"DefaultCores": 6,
"DefaultThreadsPerCore": 2,
"ValidCores": [
2,
4,
6
],
"ValidThreadsPerCore": [
1,
2
]
},
"MemoryInfo": {
"SizeInMiB": 98304
},
"InstanceStorageSupported": true,
"InstanceStorageInfo": {
"TotalSizeInGB": 7500,
"Disks": [
{
"SizeInGB": 7500,
"Count": 1,
"Type": "ssd"
}
],
"NvmeSupport": "required",
"EncryptionSupport": "required"
},
"EbsInfo": {
"EbsOptimizedSupport": "default",
"EncryptionSupport": "supported",
"EbsOptimizedInfo": {
"BaselineBandwidthInMbps": 3800,
"BaselineThroughputInMBps": 475,
"BaselineIops": 15000,
"MaximumBandwidthInMbps": 4750,
"MaximumThroughputInMBps": 593.75,
"MaximumIops": 20000
},
"NvmeSupport": "required"
},
"NetworkInfo": {
"NetworkPerformance": "Up to 25 Gigabit",
"MaximumNetworkInterfaces": 4,
"MaximumNetworkCards": 1,
"DefaultNetworkCardIndex": 0,
"NetworkCards": [
{
"NetworkCardIndex": 0,
"NetworkPerformance": "Up to 25 Gigabit",
"MaximumNetworkInterfaces": 4
}
],
"Ipv4AddressesPerInterface": 15,
"Ipv6AddressesPerInterface": 15,
"Ipv6Supported": true,
"EnaSupport": "required",
"EfaSupported": false,
"EncryptionInTransitSupported": true
},
"PlacementGroupInfo": {
"SupportedStrategies": [
"cluster",
"partition",
"spread"
]
},
"HibernationSupported": false,
"BurstablePerformanceSupported": false,
"DedicatedHostsSupported": true,
"AutoRecoverySupported": false,
"SupportedBootModes": [
"legacy-bios",
"uefi"
]
},
{
"InstanceType": "inf1.24xlarge",
"CurrentGeneration": true,
"FreeTierEligible": false,
"SupportedUsageClasses": [
"on-demand",
"spot"
],
"SupportedRootDeviceTypes": [
"ebs"
],
"SupportedVirtualizationTypes": [
"hvm"
],
"BareMetal": false,
"Hypervisor": "nitro",
"ProcessorInfo": {
"SupportedArchitectures": [
"x86_64"
],
"SustainedClockSpeedInGhz": 2.5
},
"VCpuInfo": {
"DefaultVCpus": 96,
"DefaultCores": 48,
"DefaultThreadsPerCore": 2,
"ValidCores": [
2,
4,
6,
8,
10,
12,
14,
16,
18,
20,
22,
24,
26,
28,
30,
32,
34,
36,
38,
40,
42,
44,
46,
48
],
"ValidThreadsPerCore": [
1,
2
]
},
"MemoryInfo": {
"SizeInMiB": 196608
},
"InstanceStorageSupported": false,
"EbsInfo": {
"EbsOptimizedSupport": "default",
"EncryptionSupport": "supported",
"EbsOptimizedInfo": {
"BaselineBandwidthInMbps": 19000,
"BaselineThroughputInMBps": 2375.0,
"BaselineIops": 80000,
"MaximumBandwidthInMbps": 19000,
"MaximumThroughputInMBps": 2375.0,
"MaximumIops": 80000
},
"NvmeSupport": "required"
},
"NetworkInfo": {
"NetworkPerformance": "100 Gigabit",
"MaximumNetworkInterfaces": 11,
"MaximumNetworkCards": 1,
"DefaultNetworkCardIndex": 0,
"NetworkCards": [
{
"NetworkCardIndex": 0,
"NetworkPerformance": "100 Gigabit",
"MaximumNetworkInterfaces": 11
}
],
"Ipv4AddressesPerInterface": 30,
"Ipv6AddressesPerInterface": 30,
"Ipv6Supported": true,
"EnaSupport": "required",
"EfaSupported": true,
"EfaInfo": {
"MaximumEfaInterfaces": 1
},
"EncryptionInTransitSupported": true
},
"PlacementGroupInfo": {
"SupportedStrategies": [
"cluster",
"partition",
"spread"
]
},
"InferenceAcceleratorInfo": {
"Accelerators": [
{
"Count": 16,
"Name": "Inferentia",
"Manufacturer": "AWS"
}
]
},
"HibernationSupported": false,
"BurstablePerformanceSupported": false,
"DedicatedHostsSupported": true,
"AutoRecoverySupported": true,
"SupportedBootModes": [
"legacy-bios",
"uefi"
]
}
]
}
2 changes: 1 addition & 1 deletion plugins/aws/test/resources/service_quotas_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test_instance_type_quotas() -> None:
_, builder = round_trip_for(AwsServiceQuota, "usage", "quota_type", collect_also=[AwsEc2Instance])
for _, it in builder.global_instance_types.items():
builder.add_node(it, {})
expect_quotas(builder, 7)
expect_quotas(builder, 5)


def test_volume_type_quotas() -> None:
Expand Down

0 comments on commit 0666a60

Please sign in to comment.