@@ -12,14 +12,17 @@ func TestL003Success(t *testing.T) {
12
12
13
13
var report L003Report
14
14
var hostResult L003ReportHostResult = L003ReportHostResult {
15
- Data : map [string ]L003Table {
16
- "test_schema.orders" : L003Table {
17
- Table : "test_schema.orders" ,
18
- Pk : "id" ,
19
- Type : "int4" ,
20
- CurrentMaxValue : 80000000 ,
21
- CapacityUsedPercent : 3.725 ,
15
+ Data : L003ReportHostResultData {
16
+ Tables : map [string ]L003Table {
17
+ "test_schema.orders" : L003Table {
18
+ Table : "test_schema.orders" ,
19
+ Pk : "id" ,
20
+ Type : "int4" ,
21
+ CurrentMaxValue : 80000000 ,
22
+ CapacityUsedPercent : 3.725 ,
23
+ },
22
24
},
25
+ MinTableSizeBytes : 0 ,
23
26
},
24
27
}
25
28
@@ -43,14 +46,17 @@ func TestL003P1_1(t *testing.T) {
43
46
44
47
var report L003Report
45
48
var hostResult L003ReportHostResult = L003ReportHostResult {
46
- Data : map [string ]L003Table {
47
- "test_schema.orders" : L003Table {
48
- Table : "test_schema.orders" ,
49
- Pk : "id" ,
50
- Type : "int4" ,
51
- CurrentMaxValue : 800000000 ,
52
- CapacityUsedPercent : 37.25 ,
49
+ Data : L003ReportHostResultData {
50
+ Tables : map [string ]L003Table {
51
+ "test_schema.orders" : L003Table {
52
+ Table : "test_schema.orders" ,
53
+ Pk : "id" ,
54
+ Type : "int4" ,
55
+ CurrentMaxValue : 80000000 ,
56
+ CapacityUsedPercent : 37.25 ,
57
+ },
53
58
},
59
+ MinTableSizeBytes : 0 ,
54
60
},
55
61
}
56
62
@@ -74,21 +80,24 @@ func TestL003P1_N(t *testing.T) {
74
80
75
81
var report L003Report
76
82
var hostResult L003ReportHostResult = L003ReportHostResult {
77
- Data : map [string ]L003Table {
78
- "test_schema.orders" : L003Table {
79
- Table : "test_schema.orders" ,
80
- Pk : "id" ,
81
- Type : "int4" ,
82
- CurrentMaxValue : 800000000 ,
83
- CapacityUsedPercent : 37.25 ,
84
- },
85
- "test_schema.orders_A" : L003Table {
86
- Table : "test_schema.orders_A" ,
87
- Pk : "id" ,
88
- Type : "int4" ,
89
- CurrentMaxValue : 300000000 ,
90
- CapacityUsedPercent : 13.97 ,
83
+ Data : L003ReportHostResultData {
84
+ Tables : map [string ]L003Table {
85
+ "test_schema.orders" : L003Table {
86
+ Table : "test_schema.orders" ,
87
+ Pk : "id" ,
88
+ Type : "int4" ,
89
+ CurrentMaxValue : 80000000 ,
90
+ CapacityUsedPercent : 37.25 ,
91
+ },
92
+ "test_schema.orders_A" : L003Table {
93
+ Table : "test_schema.orders_A" ,
94
+ Pk : "id" ,
95
+ Type : "int4" ,
96
+ CurrentMaxValue : 300000000 ,
97
+ CapacityUsedPercent : 13.97 ,
98
+ },
91
99
},
100
+ MinTableSizeBytes : 0 ,
92
101
},
93
102
}
94
103
@@ -112,49 +121,52 @@ func TestL003P1_6(t *testing.T) {
112
121
113
122
var report L003Report
114
123
var hostResult L003ReportHostResult = L003ReportHostResult {
115
- Data : map [string ]L003Table {
116
- "test_schema.orders" : L003Table {
117
- Table : "test_schema.orders" ,
118
- Pk : "id" ,
119
- Type : "int4" ,
120
- CurrentMaxValue : 800000000 ,
121
- CapacityUsedPercent : 37.25 ,
122
- },
123
- "test_schema.orders_A" : L003Table {
124
- Table : "test_schema.orders_A" ,
125
- Pk : "id" ,
126
- Type : "int4" ,
127
- CurrentMaxValue : 300000000 ,
128
- CapacityUsedPercent : 33.97 ,
129
- },
130
- "test_schema.orders_B" : L003Table {
131
- Table : "test_schema.orders_B" ,
132
- Pk : "id" ,
133
- Type : "int4" ,
134
- CurrentMaxValue : 300000000 ,
135
- CapacityUsedPercent : 27.97 ,
136
- },
137
- "test_schema.orders_C" : L003Table {
138
- Table : "test_schema.orders_C" ,
139
- Pk : "id" ,
140
- Type : "int4" ,
141
- CurrentMaxValue : 300000000 ,
142
- CapacityUsedPercent : 25.97 ,
143
- },
144
- "test_schema.orders_D" : L003Table {
145
- Table : "test_schema.orders_D" ,
146
- Pk : "id" ,
147
- Type : "int4" ,
148
- CurrentMaxValue : 300000000 ,
149
- CapacityUsedPercent : 23.97 ,
150
- },
151
- "test_schema.orders_E" : L003Table {
152
- Table : "test_schema.orders_E" ,
153
- Pk : "id" ,
154
- Type : "int4" ,
155
- CurrentMaxValue : 300000000 ,
156
- CapacityUsedPercent : 13.97 ,
124
+ Data : L003ReportHostResultData {
125
+ Tables : map [string ]L003Table {
126
+ "test_schema.orders" : L003Table {
127
+ Table : "test_schema.orders" ,
128
+ Pk : "id" ,
129
+ Type : "int4" ,
130
+ CurrentMaxValue : 800000000 ,
131
+ CapacityUsedPercent : 37.25 ,
132
+ },
133
+ "test_schema.orders_A" : L003Table {
134
+ Table : "test_schema.orders_A" ,
135
+ Pk : "id" ,
136
+ Type : "int4" ,
137
+ CurrentMaxValue : 300000000 ,
138
+ CapacityUsedPercent : 33.97 ,
139
+ },
140
+ "test_schema.orders_B" : L003Table {
141
+ Table : "test_schema.orders_B" ,
142
+ Pk : "id" ,
143
+ Type : "int4" ,
144
+ CurrentMaxValue : 300000000 ,
145
+ CapacityUsedPercent : 27.97 ,
146
+ },
147
+ "test_schema.orders_C" : L003Table {
148
+ Table : "test_schema.orders_C" ,
149
+ Pk : "id" ,
150
+ Type : "int4" ,
151
+ CurrentMaxValue : 300000000 ,
152
+ CapacityUsedPercent : 25.97 ,
153
+ },
154
+ "test_schema.orders_D" : L003Table {
155
+ Table : "test_schema.orders_D" ,
156
+ Pk : "id" ,
157
+ Type : "int4" ,
158
+ CurrentMaxValue : 300000000 ,
159
+ CapacityUsedPercent : 23.97 ,
160
+ },
161
+ "test_schema.orders_E" : L003Table {
162
+ Table : "test_schema.orders_E" ,
163
+ Pk : "id" ,
164
+ Type : "int4" ,
165
+ CurrentMaxValue : 300000000 ,
166
+ CapacityUsedPercent : 13.97 ,
167
+ },
157
168
},
169
+ MinTableSizeBytes : 0 ,
158
170
},
159
171
}
160
172
0 commit comments