Skip to content

Commit

Permalink
Restyled by prettier-yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and tennessee-google committed Jul 28, 2023
1 parent 84bcc4e commit 8cf8140
Showing 1 changed file with 41 additions and 24 deletions.
65 changes: 41 additions & 24 deletions src/app/tests/suites/TestGroupKeyManagementCluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ tests:
EpochKey1: null,
EpochStartTime1: null,
EpochKey2: null,
EpochStartTime2: null
EpochStartTime2: null,
}
response:
error: INVALID_COMMAND
Expand All @@ -108,12 +108,13 @@ tests:
EpochKey1: null,
EpochStartTime1: null,
EpochKey2: null,
EpochStartTime2: null
EpochStartTime2: null,
}
response:
error: INVALID_COMMAND

- label: "KeySetWrite with EpochStartTime0 set to zero fails INVALID_COMMAND"
- label:
"KeySetWrite with EpochStartTime0 set to zero fails INVALID_COMMAND"
command: "KeySetWrite"
arguments:
values:
Expand All @@ -127,12 +128,14 @@ tests:
EpochKey1: null,
EpochStartTime1: null,
EpochKey2: null,
EpochStartTime2: null
EpochStartTime2: null,
}
response:
error: INVALID_COMMAND

- label: "KeySetWrite with EpochKey0 with length 1 != 16 fails with CONSTRAINT_ERROR"
- label:
"KeySetWrite with EpochKey0 with length 1 != 16 fails with
CONSTRAINT_ERROR"
command: "KeySetWrite"
arguments:
values:
Expand All @@ -146,12 +149,14 @@ tests:
EpochKey1: null,
EpochStartTime1: null,
EpochKey2: null,
EpochStartTime2: null
EpochStartTime2: null,
}
response:
error: CONSTRAINT_ERROR

- label: "KeySetWrite with EpochKey0 with length 0 != 16 fails with CONSTRAINT_ERROR"
- label:
"KeySetWrite with EpochKey0 with length 0 != 16 fails with
CONSTRAINT_ERROR"
command: "KeySetWrite"
arguments:
values:
Expand All @@ -165,7 +170,7 @@ tests:
EpochKey1: null,
EpochStartTime1: null,
EpochKey2: null,
EpochStartTime2: null
EpochStartTime2: null,
}
response:
error: CONSTRAINT_ERROR
Expand All @@ -185,7 +190,7 @@ tests:
EpochKey1: "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf",
EpochStartTime1: null,
EpochKey2: null,
EpochStartTime2: null
EpochStartTime2: null,
}
response:
error: INVALID_COMMAND
Expand All @@ -204,12 +209,14 @@ tests:
EpochKey1: null,
EpochStartTime1: 1110001,
EpochKey2: null,
EpochStartTime2: null
EpochStartTime2: null,
}
response:
error: INVALID_COMMAND

- label: "KeySetWrite with EpochKey1 with length 1 != 16 fails with CONSTRAINT_ERROR"
- label:
"KeySetWrite with EpochKey1 with length 1 != 16 fails with
CONSTRAINT_ERROR"
command: "KeySetWrite"
arguments:
values:
Expand All @@ -223,12 +230,14 @@ tests:
EpochKey1: "\xb0",
EpochStartTime1: 1110001,
EpochKey2: null,
EpochStartTime2: null
EpochStartTime2: null,
}
response:
error: CONSTRAINT_ERROR

- label: "KeySetWrite with EpochKey1 with length 0 != 16 fails with CONSTRAINT_ERROR"
- label:
"KeySetWrite with EpochKey1 with length 0 != 16 fails with
CONSTRAINT_ERROR"
command: "KeySetWrite"
arguments:
values:
Expand All @@ -242,12 +251,14 @@ tests:
EpochKey1: "",
EpochStartTime1: 1110001,
EpochKey2: null,
EpochStartTime2: null
EpochStartTime2: null,
}
response:
error: CONSTRAINT_ERROR

- label: "KeySetWrite with EpochStartTime1 not later than EpochStart0 fails with INVALID_COMMAND"
- label:
"KeySetWrite with EpochStartTime1 not later than EpochStart0 fails
with INVALID_COMMAND"
command: "KeySetWrite"
arguments:
values:
Expand All @@ -261,7 +272,7 @@ tests:
EpochKey1: "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf",
EpochStartTime1: 1,
EpochKey2: null,
EpochStartTime2: null
EpochStartTime2: null,
}
response:
error: INVALID_COMMAND
Expand All @@ -281,7 +292,7 @@ tests:
EpochKey1: "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf",
EpochStartTime1: 1110001,
EpochKey2: "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
EpochStartTime2: null
EpochStartTime2: null,
}
response:
error: INVALID_COMMAND
Expand All @@ -300,12 +311,14 @@ tests:
EpochKey1: "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf",
EpochStartTime1: 1110001,
EpochKey2: null,
EpochStartTime2: 1110002
EpochStartTime2: 1110002,
}
response:
error: INVALID_COMMAND

- label: "KeySetWrite with EpochKey2 with length 1 != 16 fails with CONSTRAINT_ERROR"
- label:
"KeySetWrite with EpochKey2 with length 1 != 16 fails with
CONSTRAINT_ERROR"
command: "KeySetWrite"
arguments:
values:
Expand All @@ -319,12 +332,14 @@ tests:
EpochKey1: "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf",
EpochStartTime1: 1110001,
EpochKey2: "\xc0",
EpochStartTime2: 1110002
EpochStartTime2: 1110002,
}
response:
error: CONSTRAINT_ERROR

- label: "KeySetWrite with EpochKey2 with length 0 != 16 fails with CONSTRAINT_ERROR"
- label:
"KeySetWrite with EpochKey2 with length 0 != 16 fails with
CONSTRAINT_ERROR"
command: "KeySetWrite"
arguments:
values:
Expand All @@ -338,12 +353,14 @@ tests:
EpochKey1: "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf",
EpochStartTime1: 1110001,
EpochKey2: "",
EpochStartTime2: 1110002
EpochStartTime2: 1110002,
}
response:
error: CONSTRAINT_ERROR

- label: "KeySetWrite with EpochStartTime2 not later than EpochStart1 fails with INVALID_COMMAND"
- label:
"KeySetWrite with EpochStartTime2 not later than EpochStart1 fails
with INVALID_COMMAND"
command: "KeySetWrite"
arguments:
values:
Expand All @@ -357,7 +374,7 @@ tests:
EpochKey1: "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf",
EpochStartTime1: 1110001,
EpochKey2: "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
EpochStartTime2: 100
EpochStartTime2: 100,
}
response:
error: INVALID_COMMAND
Expand Down

0 comments on commit 8cf8140

Please sign in to comment.