Skip to content

Commit

Permalink
Remove reload fix from main (#4369)
Browse files Browse the repository at this point in the history
The fix from #4360 will not work for v2.10 branch features so removing
from dev and working on a different PR.
  • Loading branch information
wallyqs committed Aug 5, 2023
2 parents c0c9633 + eecb8af commit 0e7394a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions server/reload_test.go
Expand Up @@ -2509,6 +2509,7 @@ func TestConfigReloadClusterPermsOldServer(t *testing.T) {
}

func TestConfigReloadAccountUsers(t *testing.T) {
t.Skip("fix for this needs to be revisited for v2.10 release")
conf := createConfFile(t, []byte(`
listen: "127.0.0.1:-1"
accounts {
Expand Down Expand Up @@ -2726,6 +2727,7 @@ func TestConfigReloadAccountUsers(t *testing.T) {
}

func TestConfigReloadAccountWithNoChanges(t *testing.T) {
t.Skip("fix for this needs to be revisited for v2.10 release")
conf := createConfFile(t, []byte(`
listen: "127.0.0.1:-1"
system_account: sys
Expand Down
3 changes: 0 additions & 3 deletions server/server.go
Expand Up @@ -1202,9 +1202,6 @@ func (s *Server) configureAccounts(reloading bool) (map[string]struct{}, error)
c.processUnsub(sid)
}
acc.addAllServiceImportSubs()
s.mu.Unlock()
s.registerSystemImports(acc)
s.mu.Lock()
}

// Set the system account if it was configured.
Expand Down

0 comments on commit 0e7394a

Please sign in to comment.