Skip to content

Commit

Permalink
revert tweaks for flaky tests
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
  • Loading branch information
timvaillancourt committed May 20, 2024
1 parent 95a976b commit dd86486
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions go/cmd/vttestserver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ func (t *topoFlags) buildTopology() (*vttestpb.VTTestTopology, error) {
//
// flag redefined: log_rotate_max_size
var flagsOnce sync.Once
var parseFlagsMu sync.Mutex

func parseFlags() (env vttest.Environment, err error) {
flagsOnce.Do(func() {
Expand All @@ -223,9 +222,7 @@ func parseFlags() (env vttest.Environment, err error) {
servenv.RegisterServiceMapFlag()
})

parseFlagsMu.Lock()
servenv.ParseFlags("vttestserver")
parseFlagsMu.Unlock()

if basePort != 0 {
if config.DataDir == "" {
Expand Down

0 comments on commit dd86486

Please sign in to comment.