mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-08-31 00:47:15 +02:00
fix(archive): make cluster.json test fixtures schema-valid
The alex and fritz fixtures used "Flops/s" and "packets/s" as unit bases, which
are not in the enum of unit.schema.json ("F/s" is). They are copied into real
deployments, where an invalid cluster.json only fails at runtime once
main.validate is enabled.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@
|
||||
{
|
||||
"name": "flops_any",
|
||||
"unit": {
|
||||
"base": "Flops/s",
|
||||
"base": "F/s",
|
||||
"prefix": "G"
|
||||
},
|
||||
"scope": "hwthread",
|
||||
|
||||
+5
-5
@@ -85,7 +85,7 @@
|
||||
{
|
||||
"name": "flops_any",
|
||||
"unit": {
|
||||
"base": "Flops/s",
|
||||
"base": "F/s",
|
||||
"prefix": "G"
|
||||
},
|
||||
"scope": "hwthread",
|
||||
@@ -118,7 +118,7 @@
|
||||
{
|
||||
"name": "flops_sp",
|
||||
"unit": {
|
||||
"base": "Flops/s",
|
||||
"base": "F/s",
|
||||
"prefix": "G"
|
||||
},
|
||||
"scope": "hwthread",
|
||||
@@ -150,7 +150,7 @@
|
||||
{
|
||||
"name": "flops_dp",
|
||||
"unit": {
|
||||
"base": "Flops/s",
|
||||
"base": "F/s",
|
||||
"prefix": "G"
|
||||
},
|
||||
"scope": "hwthread",
|
||||
@@ -327,7 +327,7 @@
|
||||
{
|
||||
"name": "ib_recv_pkts",
|
||||
"unit": {
|
||||
"base": "packets/s"
|
||||
"base": ""
|
||||
},
|
||||
"scope": "node",
|
||||
"aggregation": "sum",
|
||||
@@ -340,7 +340,7 @@
|
||||
{
|
||||
"name": "ib_xmit_pkts",
|
||||
"unit": {
|
||||
"base": "packets/s"
|
||||
"base": ""
|
||||
},
|
||||
"scope": "node",
|
||||
"aggregation": "sum",
|
||||
|
||||
Reference in New Issue
Block a user