4e81a60838
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 |
||
---|---|---|
.. | ||
straynodes | ||
benchmark_test.go | ||
checkin_test.go | ||
config.go | ||
db_test.go | ||
downloadselection_test.go | ||
downloadselection.go | ||
peeridentities_test.go | ||
peeridentities.go | ||
piececount_test.go | ||
selection_test.go | ||
service_test.go | ||
service.go | ||
statdb_test.go | ||
uploadselection_test.go | ||
uploadselection.go |