Skip to content

Commit

Permalink
Fix ns-3 path in integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojciech Ciezobka committed Dec 19, 2023
1 parent 1e8755d commit 67ce843
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion test/test_ns3_integration.sh
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 67ce843

Please sign in to comment.