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",
|
"name": "flops_any",
|
||||||
"unit": {
|
"unit": {
|
||||||
"base": "Flops/s",
|
"base": "F/s",
|
||||||
"prefix": "G"
|
"prefix": "G"
|
||||||
},
|
},
|
||||||
"scope": "hwthread",
|
"scope": "hwthread",
|
||||||
|
|||||||
+5
-5
@@ -85,7 +85,7 @@
|
|||||||
{
|
{
|
||||||
"name": "flops_any",
|
"name": "flops_any",
|
||||||
"unit": {
|
"unit": {
|
||||||
"base": "Flops/s",
|
"base": "F/s",
|
||||||
"prefix": "G"
|
"prefix": "G"
|
||||||
},
|
},
|
||||||
"scope": "hwthread",
|
"scope": "hwthread",
|
||||||
@@ -118,7 +118,7 @@
|
|||||||
{
|
{
|
||||||
"name": "flops_sp",
|
"name": "flops_sp",
|
||||||
"unit": {
|
"unit": {
|
||||||
"base": "Flops/s",
|
"base": "F/s",
|
||||||
"prefix": "G"
|
"prefix": "G"
|
||||||
},
|
},
|
||||||
"scope": "hwthread",
|
"scope": "hwthread",
|
||||||
@@ -150,7 +150,7 @@
|
|||||||
{
|
{
|
||||||
"name": "flops_dp",
|
"name": "flops_dp",
|
||||||
"unit": {
|
"unit": {
|
||||||
"base": "Flops/s",
|
"base": "F/s",
|
||||||
"prefix": "G"
|
"prefix": "G"
|
||||||
},
|
},
|
||||||
"scope": "hwthread",
|
"scope": "hwthread",
|
||||||
@@ -327,7 +327,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ib_recv_pkts",
|
"name": "ib_recv_pkts",
|
||||||
"unit": {
|
"unit": {
|
||||||
"base": "packets/s"
|
"base": ""
|
||||||
},
|
},
|
||||||
"scope": "node",
|
"scope": "node",
|
||||||
"aggregation": "sum",
|
"aggregation": "sum",
|
||||||
@@ -340,7 +340,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ib_xmit_pkts",
|
"name": "ib_xmit_pkts",
|
||||||
"unit": {
|
"unit": {
|
||||||
"base": "packets/s"
|
"base": ""
|
||||||
},
|
},
|
||||||
"scope": "node",
|
"scope": "node",
|
||||||
"aggregation": "sum",
|
"aggregation": "sum",
|
||||||
|
|||||||
Reference in New Issue
Block a user