Remove reload fix from main (#4369)

The fix from #4360 will not work for v2.10 branch features so removing
from dev and working on a different PR.
This commit is contained in:
Waldemar Quevedo
2023-08-04 17:29:54 -07:00
committed by GitHub
2 changed files with 2 additions and 3 deletions

View File

@@ -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 {
@@ -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

View File

@@ -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.