Skip to content

Commit

Permalink
Fix TestGUIDFromProviderName_GUIDNotFound test
Browse files Browse the repository at this point in the history
  • Loading branch information
chemamartinez committed Nov 22, 2023
1 parent 0e1b645 commit e0d0384
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x-pack/libbeat/reader/etw/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ func TestGUIDFromProviderName_GUIDNotFound(t *testing.T) {
EnumerateProvidersFunc = func(pBuffer *ProviderEnumerationInfo, pBufferSize *uint32) error {
// Empty list of providers
*pBuffer = ProviderEnumerationInfo{
NumberOfProviders: 0,
NumberOfProviders: 0,
TraceProviderInfoArray: [ANYSIZE_ARRAY]TraceProviderInfo{},
}
return nil
}
Expand Down

0 comments on commit e0d0384

Please sign in to comment.