mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-21 15:18:44 +05:00
Added the config for the new subsystem: dispatcherh
This commit is contained in:
committed by
Dan Christian Bogos
parent
f175e62096
commit
18e6578840
@@ -277,8 +277,8 @@ func TestDispatcherHostIDsProfilesReorderFromIndex(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestDispatcherHostIDsProfilesShuffle(t *testing.T) {
|
||||
dConns := DispatcherHostIDs{"DSP_1", "DSP_2", "DSP_3", "DSP_4"}
|
||||
oConns := DispatcherHostIDs{"DSP_1", "DSP_2", "DSP_3", "DSP_4"}
|
||||
dConns := DispatcherHostIDs{"DSP_1", "DSP_2", "DSP_3", "DSP_4", "DSP_5", "DSP_6", "DSP_7", "DSP_8"}
|
||||
oConns := DispatcherHostIDs{"DSP_1", "DSP_2", "DSP_3", "DSP_4", "DSP_5", "DSP_6", "DSP_7", "DSP_8"}
|
||||
if dConns.Shuffle(); reflect.DeepEqual(dConns, oConns) {
|
||||
t.Errorf("received: %s", utils.ToJSON(dConns))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user