From eac182d7f2f98891e46b0540ed5de3a692ebe887 Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Sat, 23 Oct 2021 19:27:17 +0300 Subject: [PATCH] [Unit-test] Use unique port numbers when running mod_sofia tests. --- tests/unit/conf_sip/freeswitch.xml | 166 ++++++++++++++++++++++++++++ tests/unit/conf_test/freeswitch.xml | 4 +- tests/unit/switch_sip.c | 2 +- 3 files changed, 169 insertions(+), 3 deletions(-) create mode 100644 tests/unit/conf_sip/freeswitch.xml diff --git a/tests/unit/conf_sip/freeswitch.xml b/tests/unit/conf_sip/freeswitch.xml new file mode 100644 index 0000000000..df7d638124 --- /dev/null +++ b/tests/unit/conf_sip/freeswitch.xml @@ -0,0 +1,166 @@ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + +
+
diff --git a/tests/unit/conf_test/freeswitch.xml b/tests/unit/conf_test/freeswitch.xml index 80216bbe7d..a68c7c56e6 100644 --- a/tests/unit/conf_test/freeswitch.xml +++ b/tests/unit/conf_test/freeswitch.xml @@ -43,7 +43,7 @@ - + @@ -66,7 +66,7 @@ - + diff --git a/tests/unit/switch_sip.c b/tests/unit/switch_sip.c index 238f00a4d5..bcb00eac2b 100644 --- a/tests/unit/switch_sip.c +++ b/tests/unit/switch_sip.c @@ -1,7 +1,7 @@ #include #include -FST_CORE_DB_BEGIN("./conf_test") +FST_CORE_DB_BEGIN("./conf_sip") { FST_SUITE_BEGIN(switch_sip) {