mirror of https://github.com/sipwise/ngcpcfg.git
We need to specify what to sort on, otherwise we are sorting based on the references and not the actual keys. Add specific code blocks to sort on the hash keys we are interested in. This makes the output reproducible which makes the tests always pass, instead of randomly failing depending on the ordering used randomly by perl. Fixes: commitmr10.5.183003649e3Change-Id: I3dfc031a6c76db5153b7d05f6058e88d4b101599 (cherry picked from commite48864fc33)
parent
62912d41fe
commit
96c059d1a0
@ -1,6 +1,6 @@
|
||||
/etc/kamailio/lb:/etc/kamailio/lb_B:B
|
||||
/etc/kamailio/lb:/etc/kamailio/lb_A:A
|
||||
/etc/momo:/etc/momo_B:B
|
||||
/etc/kamailio/lb:/etc/kamailio/lb_B:B
|
||||
/etc/momo:/etc/momo_A:A
|
||||
/etc/other/lb:/etc/other/lb_B:B
|
||||
/etc/momo:/etc/momo_B:B
|
||||
/etc/other/lb:/etc/other/lb_A:A
|
||||
/etc/other/lb:/etc/other/lb_B:B
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
/etc/kamailio/lb/db:/etc/kamailio/lb_B/db:B
|
||||
/etc/kamailio/lb/db:/etc/kamailio/lb_A/db:A
|
||||
/etc/kamailio/lb/db:/etc/kamailio/lb_B/db:B
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
/etc/kamailio/lb:/etc/kamailio/lb_B:B
|
||||
/etc/kamailio/lb:/etc/kamailio/lb_A:A
|
||||
/etc/kamailio/lb:/etc/kamailio/lb_B:B
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
/etc/kamailio/lb:/etc/kamailio/lb_B:B
|
||||
/etc/kamailio/lb:/etc/kamailio/lb_A:A
|
||||
/etc/momo:/etc/momo_B:B
|
||||
/etc/kamailio/lb:/etc/kamailio/lb_B:B
|
||||
/etc/momo:/etc/momo_A:A
|
||||
/etc/other/lb:/etc/other/lb_B:B
|
||||
/etc/momo:/etc/momo_B:B
|
||||
/etc/other/lb:/etc/other/lb_A:A
|
||||
/etc/other/lb:/etc/other/lb_B:B
|
||||
|
||||
Loading…
Reference in new issue