test: bootstrap test for same forwarded port does not need to run replica
@@ -29,11 +29,6 @@ teardown() {
@test "forbid starting webserver with a forwarded port" {
[ "$USE_IC_REF" ] && skip "skipped for ic-ref"
- dfx replica &
- echo $! > replica.pid # Use a local file for the replica.
- sleep 5 # Wait for replica to be available.
-
assert_command_fail dfx bootstrap --port 8000
assert_match "Cannot forward API calls to the same bootstrap server"
- kill -TERM `cat replica.pid`
}
