Skip to content

Commit

Permalink
Update copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
kislaykishore committed Aug 21, 2024
1 parent 351efd6 commit 2c97f98
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion internal/fs/wrappers/monitoring_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package wrappers

import (
Expand All @@ -8,7 +22,9 @@ import (

"github.com/jacobsa/fuse/fuseops"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.opentelemetry.io/otel"
sdktrace "go.opentelemetry.io/otel/sdk/trace"
"go.opentelemetry.io/otel/sdk/trace/tracetest"
"go.opentelemetry.io/otel/trace"
)
Expand Down Expand Up @@ -245,7 +261,8 @@ func TestSpan(t *testing.T) {
wrapped: dummyFS{},
}

m.StatFS(context.Background(), nil)
err := m.StatFS(context.Background(), nil)
require.NoError(t, err)

ss := ex.GetSpans()
assert.Len(t, ss, 1)
Expand Down

0 comments on commit 2c97f98

Please sign in to comment.