Fix server feature tests and refresh Go Test* counts.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Unskip cloud-map export assertions, correct cloud venue class fixtures, and update tests/README.md to 960 server / 670 agent Test* totals.
This commit is contained in:
@@ -21,10 +21,10 @@ func TestCloudVenueIngest(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestCloudVenueClassBatchSpot(t *testing.T) {
|
||||
if fleetai.InferCloudVenueClass(fleetai.CloudVenueReport{InstanceType: "c5.large"}) != fleetai.CloudVenueBatch {
|
||||
if fleetai.InferCloudVenueClass(fleetai.CloudVenueReport{Workload: "batch"}) != fleetai.CloudVenueBatch {
|
||||
t.Fatal("expected batch class")
|
||||
}
|
||||
if fleetai.InferCloudVenueClass(fleetai.CloudVenueReport{InstanceType: "t3.spot"}) != fleetai.CloudVenueSpot {
|
||||
if fleetai.InferCloudVenueClass(fleetai.CloudVenueReport{InstanceLifecycle: "spot"}) != fleetai.CloudVenueSpot {
|
||||
t.Fatal("expected spot class")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user