chore(deps): update dependency go to v1.24.1 (#1937)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
Jan-Otto Kröpke
2025-03-14 10:05:40 +01:00
committed by GitHub
parent fce1e71cac
commit 221cfec732
8 changed files with 11 additions and 12 deletions

View File

@@ -38,7 +38,7 @@ func Benchmark_MI_Query_Unmarshal(b *testing.B) {
query, err := mi.NewQuery("SELECT Name FROM Win32_Process WHERE Handle = 0 OR Handle = 4")
require.NoError(b, err)
for i := 0; i < b.N; i++ {
for b.Loop() {
err := session.QueryUnmarshal(&processes, mi.OperationFlagsStandardRTTI, nil, mi.NamespaceRootCIMv2, mi.QueryDialectWQL, query)
require.NoError(b, err)
require.Equal(b, []win32Process{{Name: "System Idle Process"}, {Name: "System"}}, processes)