storj/satellite/overlay
paul cannon 4e81a60838 satellite/overlay: fix TestNodeSelectionGracefulExit
This test had an effective config.Reputation.AuditCount = 0, meaning all
nodes that had _any_ positive audit results were considered vetted.
Because of that, only one node in the test setup was "new". And that
node was marked as being in GE, so could not be returned by node
selection.

The reason the tests still worked is because of the node selection rule
that says "if there are no new nodes at all, just get all reputable
nodes to satisfy the request".

This commit makes it so half of the nodes are vetted and half new, which
makes the test somewhat more interesting (and means we aren't
concentrating too much on testing details of behavior when AuditCount is
0).

Change-Id: I09157b7dc20ecaddd2a6e60cfe146e9186e3603b
2022-06-17 18:28:04 +00:00
..
straynodes satellite/overlay/straynodes: prevent disqualification in tests 2021-11-09 12:29:21 +00:00
benchmark_test.go satellite/overlay: add disqualification reason 2022-04-20 13:29:31 +00:00
checkin_test.go mod: bump common to fetch latest placement type changes 2021-11-16 12:42:25 +00:00
config.go satellite/overlay: Add ability to exclude country codes on upload 2022-03-03 16:58:48 +00:00
db_test.go satellite/overlay: add disqualification reason 2022-04-20 13:29:31 +00:00
downloadselection_test.go satellite/overlay: add DownloadSelectionCache 2021-01-29 16:47:06 +02:00
downloadselection.go satellite/overlay: add DownloadSelectionCache 2021-01-29 16:47:06 +02:00
peeridentities_test.go satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
peeridentities.go all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
piececount_test.go ci: test benchmarks 2020-07-10 13:26:49 +00:00
selection_test.go satellite/overlay: fix TestNodeSelectionGracefulExit 2022-06-17 18:28:04 +00:00
service_test.go satellite/overlay: add disqualification reason 2022-04-20 13:29:31 +00:00
service.go satellite/contact: reject privateIPs in PingMe and CheckIn endpoints 2022-06-07 08:09:14 +00:00
statdb_test.go satellite/overlay: add disqualification reason 2022-04-20 13:29:31 +00:00
uploadselection_test.go satellite/overlay: Add ability to exclude country codes on upload 2022-03-03 16:58:48 +00:00
uploadselection.go satellite/overlay: Add ability to exclude country codes on upload 2022-03-03 16:58:48 +00:00