Unverified Commit b8f4aef2 authored by Maxim Ivanov's avatar Maxim Ivanov Committed by GitHub
Browse files

Update matchmaker test configuration. (#942)

parent 5ca43033
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1625,6 +1625,7 @@ func createTestMatchmaker(t fatalable, logger *zap.Logger, tickerActive bool, me
	cfg.Database.Addresses = []string{"postgres:postgres@localhost:5432/nakama"}
	cfg.Matchmaker.IntervalSec = 1
	cfg.Matchmaker.MaxIntervals = 5
	cfg.Matchmaker.RevPrecision = true
	// configure a path runtime can use (it will mkdir this, so it must be writable)
	var err error
	cfg.Runtime.Path, err = os.MkdirTemp("", "nakama-matchmaker-test")