storj/satellite/overlay
JT Olio da9ca0c650 testplanet/satellite: reduce the number of places default values need to be configured
Satellites set their configuration values to default values using
cfgstruct, however, it turns out our tests don't test these values
at all! Instead, they have a completely separate definition system
that is easy to forget about.

As is to be expected, these values have drifted, and it appears
in a few cases test planet is testing unreasonable values that we
won't see in production, or perhaps worse, features enabled in
production were missed and weren't enabled in testplanet.

This change makes it so all values are configured the same,
systematic way, so it's easy to see when test values are different
than dev values or release values, and it's less hard to forget
to enable features in testplanet.

In terms of reviewing, this change should be actually fairly
easy to review, considering private/testplanet/satellite.go keeps
the current config system and the new one and confirms that they
result in identical configurations, so you can be certain that
nothing was missed and the config is all correct.
You can also check the config lock to see what actual config
values changed.

Change-Id: I6715d0794887f577e21742afcf56fd2b9d12170e
2021-06-01 22:14:17 +00:00
..
straynodes testplanet/satellite: reduce the number of places default values need to be configured 2021-06-01 22:14:17 +00:00
audithistory_test.go satellite/overlay: fix data race in TestAuditHistoryBasic 2021-02-16 12:32:19 +02:00
audithistory.go satellite,storagenode: Pass audit history over GetStats endpoint 2020-12-30 19:13:26 +00:00
benchmark_test.go satellite/overlay: improve contended update checkin 2021-05-16 20:41:12 +03:00
config.go testplanet/satellite: reduce the number of places default values need to be configured 2021-06-01 22:14:17 +00:00
db_test.go satellite/satellitedb: in stray nodes DQ, don't DQ nodes where last_contact_success = '0001-01-01 00:00:00+00' 2021-04-22 10:13:13 -04: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: rename NodeSelectionCache to UploadSelectionCache 2021-01-28 14:56:53 +02:00
service_test.go satellite/satellitedb: filter offline suspended nodes from selection 2021-03-27 23:36:46 +00:00
service.go satellite/{metabase,satellitedb}: deduplicate AS OF SYSTEM TIME code 2021-05-11 12:40:36 +03:00
statdb_test.go satellite/satellitedb: filter offline suspended nodes from selection 2021-03-27 23:36:46 +00:00
suspension_test.go ci: fix lint errors 2021-05-17 13:37:31 +00:00
uploadselection_test.go satellite/overlay: add DownloadSelectionCache 2021-01-29 16:47:06 +02:00
uploadselection.go testplanet/satellite: reduce the number of places default values need to be configured 2021-06-01 22:14:17 +00:00