Fix server feature tests and refresh Go Test* counts.
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:
AetherForge
2026-06-07 11:11:30 -07:00
parent 0813ec8639
commit bcd25b53a6
5 changed files with 9 additions and 16 deletions

View File

@@ -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")
}
}