Skip to content

Commit

Permalink
Sync tests w/ agents/cross_agent_tests/pull/150 (#770)
Browse files Browse the repository at this point in the history
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
hmstepanek and mergify[bot] committed Feb 15, 2023
1 parent aae9563 commit a75c076
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions tests/cross_agent/fixtures/utilization/utilization_json.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
"input_hostname": "myotherhost",
"input_full_hostname": "myotherhost.com",
"input_ip_address": ["1.2.3.4"],
"input_gcp_id": "3161347020215157000",
"input_gcp_id": "3161347020215157123",
"input_gcp_type": "projects/492690098729/machineTypes/custom-1-1024",
"input_gcp_name": "aef-default-20170501t160547-7gh8",
"input_gcp_zone": "projects/492690098729/zones/us-central1-c",
Expand All @@ -196,7 +196,7 @@
"ip_address": ["1.2.3.4"],
"vendors": {
"gcp": {
"id": "3161347020215157000",
"id": "3161347020215157123",
"machineType": "custom-1-1024",
"name": "aef-default-20170501t160547-7gh8",
"zone": "us-central1-c"
Expand All @@ -211,7 +211,7 @@
"input_hostname": "myotherhost",
"input_full_hostname": "myotherhost.com",
"input_ip_address": ["1.2.3.4"],
"input_gcp_id": "3161347020215157000",
"input_gcp_id": "3161347020215157123",
"input_gcp_type": "projects/492690098729/machineTypes/custom-1-1024",
"input_gcp_name": null,
"input_gcp_zone": "projects/492690098729/zones/us-central1-c",
Expand Down
28 changes: 14 additions & 14 deletions tests/cross_agent/fixtures/utilization_vendor_specific/gcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"uri": {
"http://metadata.google.internal/computeMetadata/v1/instance/?recursive=true": {
"response": {
"id": 3161347020215157000,
"id": 3161347020215157123,
"machineType": "projects/492690098729/machineTypes/custom-1-1024",
"name": "aef-default-20170501t160547-7gh8",
"zone": "projects/492690098729/zones/us-central1-c"
Expand All @@ -34,7 +34,7 @@
},
"expected_vendors_hash": {
"gcp": {
"id": "3161347020215157000",
"id": "3161347020215157123",
"machineType": "custom-1-1024",
"name": "aef-default-20170501t160547-7gh8",
"zone": "us-central1-c"
Expand All @@ -46,7 +46,7 @@
"uri": {
"http://metadata.google.internal/computeMetadata/v1/instance/?recursive=true": {
"response": {
"id": 3161347020215157000,
"id": 3161347020215157123,
"machineType": "<script>lol</script>",
"name": "aef-default-20170501t160547-7gh8",
"zone": "projects/492690098729/zones/us-central1-c"
Expand All @@ -66,7 +66,7 @@
"uri": {
"http://metadata.google.internal/computeMetadata/v1/instance/?recursive=true": {
"response": {
"id": 3161347020215157000,
"id": 3161347020215157123,
"machineType": "zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz",
"name": "aef-default-20170501t160547-7gh8",
"zone": "projects/492690098729/zones/us-central1-c"
Expand Down Expand Up @@ -126,7 +126,7 @@
"uri": {
"http://metadata.google.internal/computeMetadata/v1/instance/?recursive=true": {
"response": {
"id": 3161347020215157000,
"id": 3161347020215157123,
"machineType": "projects/492690098729/machineTypes/custom-1-1024",
"name": "aef-default-20170501t160547-7gh8",
"zone": "<script>lol</script>"
Expand All @@ -146,7 +146,7 @@
"uri": {
"http://metadata.google.internal/computeMetadata/v1/instance/?recursive=true": {
"response": {
"id": 3161347020215157000,
"id": 3161347020215157123,
"machineType": "projects/492690098729/machineTypes/custom-1-1024",
"name": "aef-default-20170501t160547-7gh8",
"zone": "zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
Expand All @@ -166,7 +166,7 @@
"uri": {
"http://metadata.google.internal/computeMetadata/v1/instance/?recursive=true": {
"response": {
"id": 3161347020215157000,
"id": 3161347020215157123,
"machineType": "projects/492690098729/machineTypes/custom-1-1024",
"name": "<script>lol</script>",
"zone": "projects/492690098729/zones/us-central1-c"
Expand All @@ -186,7 +186,7 @@
"uri": {
"http://metadata.google.internal/computeMetadata/v1/instance/?recursive=true": {
"response": {
"id": 3161347020215157000,
"id": 3161347020215157123,
"machineType": "projects/492690098729/machineTypes/custom-1-1024",
"name": "zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz",
"zone": "projects/492690098729/zones/us-central1-c"
Expand All @@ -206,7 +206,7 @@
"uri": {
"http://metadata.google.internal/computeMetadata/v1/instance/?recursive=true": {
"response": {
"id": 3161347020215157000,
"id": 3161347020215157123,
"machineType": "projects/492690098729/machineTypes/custom-1-1024",
"name": "滈 橀槶澉 鞻饙騴 鱙鷭黂 甗糲 紁羑 嗂 蛶觢豥 餤駰鬳 釂鱞鸄",
"zone": "projects/492690098729/zones/us-central1-c"
Expand All @@ -216,7 +216,7 @@
},
"expected_vendors_hash": {
"gcp": {
"id": "3161347020215157000",
"id": "3161347020215157123",
"machineType": "custom-1-1024",
"name": "滈 橀槶澉 鞻饙騴 鱙鷭黂 甗糲 紁羑 嗂 蛶觢豥 餤駰鬳 釂鱞鸄",
"zone": "us-central1-c"
Expand All @@ -228,7 +228,7 @@
"uri": {
"http://metadata.google.internal/computeMetadata/v1/instance/?recursive=true": {
"response": {
"id": 3161347020215157000,
"id": 3161347020215157123,
"machineType": "projects/492690098729/machineTypes/custom-1-1024",
"name": "滈 橀槶澉 鞻饙騴 鱙鷭黂 甗糲, 紁羑 嗂 蛶觢豥 餤駰鬳 釂鱞鸄",
"zone": "projects/492690098729/zones/us-central1-c"
Expand All @@ -248,7 +248,7 @@
"uri": {
"http://metadata.google.internal/computeMetadata/v1/instance/?recursive=true": {
"response": {
"id": 3161347020215157000,
"id": 3161347020215157123,
"machineType": "projects/492690098729/machineTypes/custom-1-1024",
"name": "Bang!",
"zone": "projects/492690098729/zones/us-central1-c"
Expand All @@ -268,7 +268,7 @@
"uri": {
"http://metadata.google.internal/computeMetadata/v1/instance/?recursive=true": {
"response": {
"id": 3161347020215157000,
"id": 3161347020215157123,
"machineType": "projects/492690098729/machineTypes/custom-1-1024",
"name": "a-b_c.3... and/or 503 867-5309",
"zone": "projects/492690098729/zones/us-central1-c"
Expand All @@ -278,7 +278,7 @@
},
"expected_vendors_hash": {
"gcp": {
"id": "3161347020215157000",
"id": "3161347020215157123",
"machineType": "custom-1-1024",
"name": "a-b_c.3... and/or 503 867-5309",
"zone": "us-central1-c"
Expand Down

0 comments on commit a75c076

Please sign in to comment.