From 67ce843d81d8441255bcefeb0de7d441b2c775ad Mon Sep 17 00:00:00 2001 From: Wojciech Ciezobka Date: Tue, 19 Dec 2023 18:59:03 +0100 Subject: [PATCH] Fix ns-3 path in integration test --- docs/source/examples.rst | 2 +- test/test_ns3_integration.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/examples.rst b/docs/source/examples.rst index 9308e4a..ac4466e 100644 --- a/docs/source/examples.rst +++ b/docs/source/examples.rst @@ -102,7 +102,7 @@ rate adaptation scenario controlled by the UCB agent. .. code-block:: bash cd $REINFORCED_LIB - ./test/test_ns3_integration.sh + ./test/test_ns3_integration.sh $YOUR_NS3_PATH On success, in your home directory, there should be a ``rlib-ns3-integration-test.csv`` file generated filled with some data. diff --git a/test/test_ns3_integration.sh b/test/test_ns3_integration.sh index ec6267b..ad3b410 100755 --- a/test/test_ns3_integration.sh +++ b/test/test_ns3_integration.sh @@ -1,3 +1,3 @@ #!/bin/bash -python3 examples/ns-3-ra/main.py --mobilityModel="Distance" --agent="UCB" --ns3Path="/Users/wciezobka/ncn/ns-3.37/ns-3-dev" --wifiManagerName="UCB" --velocity="1" --simulationTime="25" --warmupTime="5" --logEvery="1" --lossModel="LogDistance" --seed="42" --csvPath="$HOME/rlib-ns3-integration-test.csv" --mempoolKey="2138" +python3 examples/ns-3-ra/main.py --mobilityModel="Distance" --agent="UCB" --ns3Path="$1" --wifiManagerName="UCB" --velocity="1" --simulationTime="25" --warmupTime="5" --logEvery="1" --lossModel="LogDistance" --seed="42" --csvPath="$HOME/rlib-ns3-integration-test.csv" --mempoolKey="2138"