mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-19 05:07:56 +00:00
Issue #20: remove unique socket names from tests
The recent work on abstract local socket names means that every instance has its own unique abstract socket name anyway, so there is no need for test scripts to use $TFWUNIQUE in MDP and Monitor socket names to avoid intereference when run concurrently.
This commit is contained in:
parent
cc96e08e9d
commit
4851eaf536
@ -59,15 +59,11 @@ test_dna_090_version() {
|
||||
set_instance +A
|
||||
executeOk_servald config \
|
||||
set interfaces.0.dummy "$DUMMYNET" \
|
||||
set monitor.socket "org.servalproject.servald.monitor.socket.$TFWUNIQUE.$instance_name" \
|
||||
set mdp.socket "org.servalproject.servald.mdp.socket.$TFWUNIQUE.$instance_name" \
|
||||
set debug.overlayframes on
|
||||
start_servald_090
|
||||
set_instance +B
|
||||
executeOk_servald config \
|
||||
set interfaces.1.file "$DUMMYNET" \
|
||||
set monitor.socket "org.servalproject.servald.monitor.socket.$TFWUNIQUE.$instance_name" \
|
||||
set mdp.socket "org.servalproject.servald.mdp.socket.$TFWUNIQUE.$instance_name" \
|
||||
set debug.linkstate on \
|
||||
set debug.overlayrouting on
|
||||
create_single_identity
|
||||
|
@ -96,8 +96,6 @@ interface_up() {
|
||||
start_routing_instance() {
|
||||
executeOk_servald config \
|
||||
set server.interface_path "$SERVALD_VAR" \
|
||||
set monitor.socket "org.servalproject.servald.monitor.socket.$TFWUNIQUE.$instance_name" \
|
||||
set mdp.socket "org.servalproject.servald.mdp.socket.$TFWUNIQUE.$instance_name" \
|
||||
set rhizome.enable No \
|
||||
set log.console.show_pid on \
|
||||
set log.console.show_time on \
|
||||
|
@ -74,8 +74,6 @@ setup_StressRhizomeTransfer() {
|
||||
start_instance() {
|
||||
executeOk_servald config \
|
||||
set server.interface_path "$SERVALD_VAR" \
|
||||
set monitor.socket "org.servalproject.servald.monitor.socket.$TFWUNIQUE.$instance_name" \
|
||||
set mdp.socket "org.servalproject.servald.mdp.socket.$TFWUNIQUE.$instance_name" \
|
||||
set interfaces.0.file dummy \
|
||||
set interfaces.0.dummy_address 127.0.0.$instance_number \
|
||||
set interfaces.0.dummy_netmask 255.255.255.224
|
||||
|
@ -78,8 +78,6 @@ path_exists() {
|
||||
start_routing_instance() {
|
||||
executeOk_servald config \
|
||||
set server.interface_path "$SERVALD_VAR" \
|
||||
set monitor.socket "org.servalproject.servald.monitor.socket.$TFWUNIQUE.$instance_name" \
|
||||
set mdp.socket "org.servalproject.servald.mdp.socket.$TFWUNIQUE.$instance_name" \
|
||||
set debug.mdprequests yes \
|
||||
set debug.linkstate yes \
|
||||
set debug.verbose yes \
|
||||
|
@ -28,10 +28,7 @@ setup() {
|
||||
|
||||
setup_interfaces() {
|
||||
>$TFWTMP/dummy
|
||||
executeOk_servald config \
|
||||
set interfaces "+>$TFWTMP/dummy" \
|
||||
set monitor.socket "org.servalproject.servald.monitor.socket.$TFWUNIQUE.$instance_name" \
|
||||
set mdp.socket "org.servalproject.servald.mdp.socket.$TFWUNIQUE.$instance_name"
|
||||
executeOk_servald config set interfaces "+>$TFWTMP/dummy"
|
||||
}
|
||||
|
||||
teardown() {
|
||||
|
Loading…
Reference in New Issue
Block a user