Skip to content

Commit

Permalink
domain: fix unstable test (#36308)
Browse files Browse the repository at this point in the history
close #36310
  • Loading branch information
hawkingrei authored Jul 19, 2022
1 parent 486ee8e commit 11625d4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions domain/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ func TestNormalSessionPool(t *testing.T) {
require.NoError(t, err1)
conf := config.GetGlobalConfig()
conf.Socket = ""
conf.Port = 0
conf.Status.ReportStatus = false
svr, err := server.NewServer(conf, nil)
require.NoError(t, err)
svr.SetDomain(domain)
Expand Down Expand Up @@ -109,6 +111,8 @@ func TestAbnormalSessionPool(t *testing.T) {
require.NoError(t, err1)
conf := config.GetGlobalConfig()
conf.Socket = ""
conf.Port = 0
conf.Status.ReportStatus = false
svr, err := server.NewServer(conf, nil)
require.NoError(t, err)
svr.SetDomain(domain)
Expand Down

0 comments on commit 11625d4

Please sign in to comment.