Skip to content

Commit

Permalink
Merge pull request moby#48796 from robmry/remove_libnet_testmain
Browse files Browse the repository at this point in the history
Remove libnetwork_test.TestMain
  • Loading branch information
robmry authored Oct 30, 2024
2 parents b08bc5d + fbb595c commit 3e96728
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions libnetwork/libnetwork_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,6 @@ const (
bridgeNetType = "bridge"
)

func TestMain(m *testing.M) {
// Cleanup local datastore file
_ = os.Remove("/var/lib/docker/network/files/local-kv.db")

os.Exit(m.Run())
}

func newController(t *testing.T) *libnetwork.Controller {
t.Helper()
c, err := libnetwork.New(
Expand Down

0 comments on commit 3e96728

Please sign in to comment.