-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Windows] Fix tests broken by rebase
- Loading branch information
Showing
21 changed files
with
1,243 additions
and
1,285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
96 changes: 47 additions & 49 deletions
96
...rnal/collector/sysinfo/hardware/testdata/TestCollectWindows/golden/bad_memory_information
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,47 @@ | ||
hardware: | ||
product: | ||
Family: "1582.3" | ||
Model: Star 11 CPP | ||
Vendor: Micro-Star International Co., Ltd. | ||
cpu: | ||
Architecture: amd64 | ||
Manufacturer: GenuineIntel | ||
Name: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz | ||
NumberOfCores: "8" | ||
NumberOfLogicalProcessors: "16" | ||
Sockets: "1" | ||
gpus: | ||
- Driver: nvldumdx.dll | ||
Name: NVIDIA GeForce RTX 3050 Ti Laptop GPU | ||
Vendor: NVIDIA | ||
- Driver: igdumdim0.dll | ||
Name: Intel(R) UHD Graphics | ||
Vendor: Intel Corporation | ||
mem: | ||
MemTotal: 0 | ||
blks: | ||
- name: \\.\PHYSICALDRIVE0 | ||
size: "2000396321280" | ||
partitions: | ||
- name: 'Disk #0, Partition #0' | ||
size: "314572800" | ||
partitions: [] | ||
- name: 'Disk #0, Partition #1' | ||
size: "943718400" | ||
partitions: [] | ||
- name: 'Disk #0, Partition #2' | ||
size: "22153265152" | ||
partitions: [] | ||
- name: 'Disk #0, Partition #3' | ||
size: "1976850972672" | ||
partitions: [] | ||
screens: | ||
- name: Default Monitor | ||
physicalresolution: "" | ||
size: "" | ||
resolution: 1920x1080 | ||
refreshrate: "" | ||
- name: Generic PnP Monitor | ||
physicalresolution: "" | ||
size: "" | ||
resolution: 1920x1080 | ||
refreshrate: "" | ||
software: {} | ||
product: | ||
Family: "1582.3" | ||
Model: Star 11 CPP | ||
Vendor: Micro-Star International Co., Ltd. | ||
cpu: | ||
Architecture: amd64 | ||
Manufacturer: GenuineIntel | ||
Name: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz | ||
NumberOfCores: "8" | ||
NumberOfLogicalProcessors: "16" | ||
Sockets: "1" | ||
gpus: | ||
- Driver: nvldumdx.dll | ||
Name: NVIDIA GeForce RTX 3050 Ti Laptop GPU | ||
Vendor: NVIDIA | ||
- Driver: igdumdim0.dll | ||
Name: Intel(R) UHD Graphics | ||
Vendor: Intel Corporation | ||
mem: | ||
MemTotal: 0 | ||
blks: | ||
- name: \\.\PHYSICALDRIVE0 | ||
size: "2000396321280" | ||
partitions: | ||
- name: 'Disk #0, Partition #0' | ||
size: "314572800" | ||
partitions: [] | ||
- name: 'Disk #0, Partition #1' | ||
size: "943718400" | ||
partitions: [] | ||
- name: 'Disk #0, Partition #2' | ||
size: "22153265152" | ||
partitions: [] | ||
- name: 'Disk #0, Partition #3' | ||
size: "1976850972672" | ||
partitions: [] | ||
screens: | ||
- name: Default Monitor | ||
physicalresolution: "" | ||
size: "" | ||
resolution: 1920x1080 | ||
refreshrate: "" | ||
- name: Generic PnP Monitor | ||
physicalresolution: "" | ||
size: "" | ||
resolution: 1920x1080 | ||
refreshrate: "" |
85 changes: 41 additions & 44 deletions
85
internal/collector/sysinfo/hardware/testdata/TestCollectWindows/golden/error_cpu_information
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,41 @@ | ||
hardware: | ||
product: | ||
Family: "1582.3" | ||
Model: Star 11 CPP | ||
Vendor: Micro-Star International Co., Ltd. | ||
cpu: | ||
Architecture: amd64 | ||
gpus: | ||
- Driver: nvldumdx.dll | ||
Name: NVIDIA GeForce RTX 3050 Ti Laptop GPU | ||
Vendor: NVIDIA | ||
- Driver: igdumdim0.dll | ||
Name: Intel(R) UHD Graphics | ||
Vendor: Intel Corporation | ||
mem: | ||
MemTotal: 68406489088 | ||
blks: | ||
- name: \\.\PHYSICALDRIVE0 | ||
size: "2000396321280" | ||
partitions: | ||
- name: 'Disk #0, Partition #0' | ||
size: "314572800" | ||
partitions: [] | ||
- name: 'Disk #0, Partition #1' | ||
size: "943718400" | ||
partitions: [] | ||
- name: 'Disk #0, Partition #2' | ||
size: "22153265152" | ||
partitions: [] | ||
- name: 'Disk #0, Partition #3' | ||
size: "1976850972672" | ||
partitions: [] | ||
screens: | ||
- name: Default Monitor | ||
physicalresolution: "" | ||
size: "" | ||
resolution: 1920x1080 | ||
refreshrate: "" | ||
- name: Generic PnP Monitor | ||
physicalresolution: "" | ||
size: "" | ||
resolution: 1920x1080 | ||
refreshrate: "" | ||
software: {} | ||
product: | ||
Family: "1582.3" | ||
Model: Star 11 CPP | ||
Vendor: Micro-Star International Co., Ltd. | ||
cpu: {} | ||
gpus: | ||
- Driver: nvldumdx.dll | ||
Name: NVIDIA GeForce RTX 3050 Ti Laptop GPU | ||
Vendor: NVIDIA | ||
- Driver: igdumdim0.dll | ||
Name: Intel(R) UHD Graphics | ||
Vendor: Intel Corporation | ||
mem: | ||
MemTotal: 68406489088 | ||
blks: | ||
- name: \\.\PHYSICALDRIVE0 | ||
size: "2000396321280" | ||
partitions: | ||
- name: 'Disk #0, Partition #0' | ||
size: "314572800" | ||
partitions: [] | ||
- name: 'Disk #0, Partition #1' | ||
size: "943718400" | ||
partitions: [] | ||
- name: 'Disk #0, Partition #2' | ||
size: "22153265152" | ||
partitions: [] | ||
- name: 'Disk #0, Partition #3' | ||
size: "1976850972672" | ||
partitions: [] | ||
screens: | ||
- name: Default Monitor | ||
physicalresolution: "" | ||
size: "" | ||
resolution: 1920x1080 | ||
refreshrate: "" | ||
- name: Generic PnP Monitor | ||
physicalresolution: "" | ||
size: "" | ||
resolution: 1920x1080 | ||
refreshrate: "" |
66 changes: 32 additions & 34 deletions
66
...rnal/collector/sysinfo/hardware/testdata/TestCollectWindows/golden/error_disk_information
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,32 @@ | ||
hardware: | ||
product: | ||
Family: "1582.3" | ||
Model: Star 11 CPP | ||
Vendor: Micro-Star International Co., Ltd. | ||
cpu: | ||
Architecture: amd64 | ||
Manufacturer: GenuineIntel | ||
Name: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz | ||
NumberOfCores: "8" | ||
NumberOfLogicalProcessors: "16" | ||
Sockets: "1" | ||
gpus: | ||
- Driver: nvldumdx.dll | ||
Name: NVIDIA GeForce RTX 3050 Ti Laptop GPU | ||
Vendor: NVIDIA | ||
- Driver: igdumdim0.dll | ||
Name: Intel(R) UHD Graphics | ||
Vendor: Intel Corporation | ||
mem: | ||
MemTotal: 68406489088 | ||
blks: [] | ||
screens: | ||
- name: Default Monitor | ||
physicalresolution: "" | ||
size: "" | ||
resolution: 1920x1080 | ||
refreshrate: "" | ||
- name: Generic PnP Monitor | ||
physicalresolution: "" | ||
size: "" | ||
resolution: 1920x1080 | ||
refreshrate: "" | ||
software: {} | ||
product: | ||
Family: "1582.3" | ||
Model: Star 11 CPP | ||
Vendor: Micro-Star International Co., Ltd. | ||
cpu: | ||
Architecture: amd64 | ||
Manufacturer: GenuineIntel | ||
Name: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz | ||
NumberOfCores: "8" | ||
NumberOfLogicalProcessors: "16" | ||
Sockets: "1" | ||
gpus: | ||
- Driver: nvldumdx.dll | ||
Name: NVIDIA GeForce RTX 3050 Ti Laptop GPU | ||
Vendor: NVIDIA | ||
- Driver: igdumdim0.dll | ||
Name: Intel(R) UHD Graphics | ||
Vendor: Intel Corporation | ||
mem: | ||
MemTotal: 68406489088 | ||
blks: [] | ||
screens: | ||
- name: Default Monitor | ||
physicalresolution: "" | ||
size: "" | ||
resolution: 1920x1080 | ||
refreshrate: "" | ||
- name: Generic PnP Monitor | ||
physicalresolution: "" | ||
size: "" | ||
resolution: 1920x1080 | ||
refreshrate: "" |
Oops, something went wrong.