Skip to content

Commit

Permalink
Do not cache the loader test
Browse files Browse the repository at this point in the history
  • Loading branch information
t0yv0 committed Dec 12, 2024
1 parent e2b6499 commit ed1b2b6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dynamic/internal/shim/run/loader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ package run

import (
"context"
"os"
"testing"

"github.com/hashicorp/terraform-plugin-go/tfprotov6"
Expand All @@ -35,6 +36,10 @@ func TestLoadProvider(t *testing.T) {
t.Parallel()

t.Run("registry", func(t *testing.T) {
// Do not cache during the test.
err := os.Setenv(envPluginCache, t.TempDir())
require.NoError(t, err)

Integration(t)
ctx := context.Background()

Expand Down

0 comments on commit ed1b2b6

Please sign in to comment.