storj/private/testplanet
Egon Elbre 63fa386b0a satellite/payments/stripecoinpayments: avoid mock cross-talk in tests
The tests were using global variables for keeping the mock state, which
was indexed by the satellite ID. However, the satellite ID-s are
deterministic and it's possible for two tests end up using the same
mocks.

Instead make the mock creation not depend on the satellite ID and
instead require it being configured via paymentsconfig.

This fixes TestAutoFreezeChore failure.

Change-Id: I531d3550a934fbb36cff2973be96fd43b7edc44a
2023-03-03 20:20:48 +02:00
..
dir.go private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
doc.go all: reformat comments as required by gofmt 1.19 2022-08-10 18:24:55 +00:00
log.go private/testplanet: use info level logs in jenkins 2022-02-10 11:47:06 -06:00
multinode.go private/testplanet: add some more error wrapping 2023-01-31 15:44:59 +02:00
planet_test.go private/testplanet: extend testplanet with multinode instance 2021-10-13 10:19:45 +00:00
planet.go private/testplanet: enable full table scan detection 2023-02-03 12:11:18 +00:00
reconfigure.go private/testplanet: add uplink config to use different path cipher 2023-02-22 10:28:25 +00:00
rpc_test.go mod: bump dependencies 2022-10-19 17:01:53 +00:00
run_test.go Makefile: disable postgres fsync in the test container 2022-12-01 22:03:31 +00:00
run.go private/testplanet: add uplink config to use different path cipher 2023-02-22 10:28:25 +00:00
satellite_test.go integration/ui: add UI integration tests 2021-06-09 14:39:38 +03:00
satellite.go satellite/payments/stripecoinpayments: avoid mock cross-talk in tests 2023-03-03 20:20:48 +02:00
storagenode-wait.go private/testplanet: support writing monitoring spans 2021-09-30 09:03:35 +03:00
storagenode.go private/testplanet: add some more error wrapping 2023-01-31 15:44:59 +02:00
tlsopts_test.go all: use DialNodeURL throughout the codebase 2020-05-20 10:36:30 +00:00
uplink_test.go private/testplanet: add uplink config to use different path cipher 2023-02-22 10:28:25 +00:00
uplink.go private/testplanet: add uplink config to use different path cipher 2023-02-22 10:28:25 +00:00
versioning.go private/testplanet: try using multiple localhosts 2022-03-29 05:24:35 +00:00