Skip to content

Commit

Permalink
refactor: move crate utp-testing to testing/utp
Browse files Browse the repository at this point in the history
  • Loading branch information
KolbyML committed Jan 14, 2025
1 parent 80ddc06 commit 38f2bf4
Show file tree
Hide file tree
Showing 15 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,14 +284,14 @@ jobs:
command: cargo build --workspace --release
- run:
name: Move docker artifacts
command: mv -t utp-testing/docker/circleci/ target/release/utp-test-app utp-testing/docker/run_endpoint.sh utp-testing/docker/setup.sh
command: mv -t testing/utp/docker/circleci/ target/release/utp-test-app testing/utp/docker/run_endpoint.sh testing/utp/docker/setup.sh
- run:
name: Build uTP Test App container
command: docker build -t test-utp --no-cache utp-testing/docker/circleci/
command: docker build -t test-utp --no-cache testing/utp/docker/circleci/
- run:
name: Run Test App with network simulator
# Dropping packets from both sides of the stream to test dealing with lost packets
command: SCENARIO="droplist --delay=15ms --bandwidth=10Mbps --queue=25 --drops_to_server=3,5,7 --drops_to_client=6,8" docker-compose -f utp-testing/docker/docker-compose.yml up -d
command: SCENARIO="droplist --delay=15ms --bandwidth=10Mbps --queue=25 --drops_to_server=3,5,7 --drops_to_client=6,8" docker-compose -f testing/utp/docker/docker-compose.yml up -d
- run:
name: Wait all containers to start
command: sleep 5
Expand All @@ -303,7 +303,7 @@ jobs:
command: RUST_LOG=debug ./target/release/utp-test-suite
- run:
name: Stop containers
command: docker-compose -f utp-testing/docker/docker-compose.yml down
command: docker-compose -f testing/utp/docker/docker-compose.yml down
workflows:
merge-test:
jobs:
Expand Down
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
!/portal-bridge
!/testing
!/trin-execution
!/utp-testing

# include for vergen constants
!/.git
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ members = [
"portal-bridge",
"testing/ef-tests",
"testing/ethportal-peertest",
"testing/utp",
"trin-execution",
"utp-testing",
]

default-members = ["bin/trin"]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 38f2bf4

Please sign in to comment.