Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
test: fix datarace (#39)
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Urbanek <mateusz.urbanek.98@gmail.com>
  • Loading branch information
shanduur authored Sep 14, 2023
1 parent a560754 commit a0752b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gocosi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ import (
cosi "sigs.k8s.io/container-object-storage-interface-spec"
)

//nolint:paralleltest
func TestSetLogger(t *testing.T) {
t.Parallel()

impl := logr.New(logr.Discard().GetSink())
SetLogger(impl)
assert.Equal(t, impl, log)
Expand Down

0 comments on commit a0752b8

Please sign in to comment.