@@ -55,3 +55,35 @@ tests:
55
55
]
56
56
response :
57
57
error : CONSTRAINT_ERROR
58
+
59
+ - label : " Attempt to write a large label list"
60
+ command : " writeAttribute"
61
+ attribute : " LabelList"
62
+ arguments :
63
+ value : [
64
+ # Example repeated user labels to blow up the maximum allowed
65
+ { Label: "roomName", Value: "master bedroom 1" },
66
+ { Label: "orientation", Value: "east" },
67
+ { Label: "floor", Value: "2" },
68
+ { Label: "roomType", Value: "bedroom" },
69
+ { Label: "someKey5", Value: "someVal5" },
70
+ { Label: "someKey6", Value: "someVal6" },
71
+ { Label: "someKey7", Value: "someVal7" },
72
+ { Label: "someKey8", Value: "someVal8" },
73
+ { Label: "someKey9", Value: "someVal9" },
74
+ { Label: "someKey10", Value: "someVal10" },
75
+ { Label: "someKey11", Value: "someVal11" },
76
+ { Label: "someKey12", Value: "someVal12" },
77
+ { Label: "someKey13", Value: "someVal13" },
78
+ { Label: "someKey14", Value: "someVal14" },
79
+ { Label: "someKey15", Value: "someVal15" },
80
+ { Label: "someKey16", Value: "someVal16" },
81
+ { Label: "someKey17", Value: "someVal17" },
82
+ { Label: "someKey18", Value: "someVal18" },
83
+ { Label: "someKey19", Value: "someVal19" },
84
+ { Label: "someKey20", Value: "someVal20" },
85
+ ]
86
+ response :
87
+ # When the cluster runs out of capacity to store these entries,
88
+ # we expect a FAILURE get returned.
89
+ error : FAILURE
0 commit comments