Skip to content

Commit

Permalink
fixup: Remove unused methods and constants
Browse files Browse the repository at this point in the history
  • Loading branch information
maru-ava committed Dec 15, 2023
1 parent a623043 commit c6f2252
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
4 changes: 1 addition & 3 deletions tests/fixture/tmpnet/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ const (
NetworkDirEnvName = "TMPNET_NETWORK_DIR"
RootDirEnvName = "TMPNET_ROOT_DIR"

DefaultNetworkTimeout = 2 * time.Minute
DefaultNodeInitTimeout = 10 * time.Second
DefaultNodeStopTimeout = 5 * time.Second
DefaultNetworkTimeout = 2 * time.Minute

// Minimum required to ensure connectivity-based health checks will pass
DefaultNodeCount = 2
Expand Down
9 changes: 0 additions & 9 deletions tests/fixture/tmpnet/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,3 @@ func (f FlagsMap) Write(path string, description string) error {
}
return nil
}

// Return a deep copy of the flags map.
func (f FlagsMap) Copy() FlagsMap {
newMap := make(FlagsMap, len(f))
for k, v := range f {
newMap[k] = v
}
return newMap
}

0 comments on commit c6f2252

Please sign in to comment.