storj/scripts
paul cannon 1d78ddc3df
Test that network stalls don't cause indefinite hangs in uplink (#1530)
* test-network-stalls tests... network stalls!

in particular, right now, it just tests whether an uplink correctly
times out after some amount of time when one of the nodes it's talking
to suddenly goes offline.

This tool is meant to be run under `storj-sim network test`.

Also included here:

* fix storj-sim-related test scripts on Mac

the default storj config dir on Mac has a space in it
('~/Library/Application Support/Storj'), which breaks everywhere it
shows up in an unquoted variable in a sh/bash script. easy enough to fix
as a one-off, but quoting bash vars avoids a dozen other potential
problems too.

change a few things using `head -c` to use `dd`. `head -c` works,
but is not as widely understood (as evidenced by each of these scripts
getting through code review, one at a time, with the comments not
matching the numbers actually used).

* storj-sim reports PIDs of worker processes to test

so that the tests can cause unfortunate "accidents" to befall the worker
processes in the course of the test, and find out whether everything
reacts correctly.
2019-03-20 08:58:07 -06:00
..
waitlist Waitlist script (#573) 2018-11-06 18:43:20 +01:00
cert-gating.sh certificates config and --certs-dir fixes (#1093) 2019-01-22 13:35:48 +01:00
check-clean-directory.go updates copyright 2018 to 2019 (#1133) 2019-01-24 15:15:10 -05:00
check-copyright.go updates copyright 2018 to 2019 (#1133) 2019-01-24 15:15:10 -05:00
check-imports.go convert psserver dashboard into an inspector (#1407) 2019-03-05 15:48:37 -05:00
check-travis-tidy.sh Stop storagenode on ctrl+c (#1220) 2019-02-04 15:50:55 +01:00
dependencies_test.go Add arguments to lockedgen for using it in other places (#1030) 2019-01-11 18:07:26 +02:00
fail-on-race.go Fail integration tests on panic (#1032) 2019-01-11 18:18:16 +02:00
install-awscli.sh Travis with go1.11 and modules (#479) 2018-10-16 20:02:00 +03:00
lockedgen.go updates copyright 2018 to 2019 (#1133) 2019-01-24 15:15:10 -05:00
protobuf.go Add protolock to build (#1321) 2019-02-18 08:43:46 +01:00
setup-gopath.ps1 Check for go.mod validity (#605) 2018-11-09 15:32:35 +02:00
setup-gopath.sh restore previous folder layout in travis (#1240) 2019-02-05 13:09:29 -06:00
test-aio.sh Test that network stalls don't cause indefinite hangs in uplink (#1530) 2019-03-20 08:58:07 -06:00
test-certificate-signing.sh Improve cert signing integration test+: (#997) 2019-01-11 15:59:35 +01:00
test-network-stalls.go Test that network stalls don't cause indefinite hangs in uplink (#1530) 2019-03-20 08:58:07 -06:00
test-sim-aws.sh Test that network stalls don't cause indefinite hangs in uplink (#1530) 2019-03-20 08:58:07 -06:00
test-sim.sh Test that network stalls don't cause indefinite hangs in uplink (#1530) 2019-03-20 08:58:07 -06:00
test-uplink.sh Test that network stalls don't cause indefinite hangs in uplink (#1530) 2019-03-20 08:58:07 -06:00
use-ports.go updates copyright 2018 to 2019 (#1133) 2019-01-24 15:15:10 -05:00
utils.sh certificates config and --certs-dir fixes (#1093) 2019-01-22 13:35:48 +01:00