kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 96db92ca9a95b01835428efb1d4993f8bf23a1c1a8360c383f5ee677a65bd930 |
|---|---|
| Author | Andrew Tolbert <andrew.tolbert@datastax.com> · 2014-12-19 14:26 -06:00 |
| Committer | Andrew Tolbert <andrew.tolbert@datastax.com> · 2014-12-19 14:26 -06:00 |
| Parents | 700f2fff0c89 |
1 file changed
modified driver-core/src/test/java/com/datastax/driver/core/LargeDataTest.java +9 −6
| @@ -129,9 +129,12 @@ | ||
| 129 | 129 | * Converts an integer to an string of letters |
| 130 | 130 | * @param i The integer that maps to letter |
| 131 | 131 | * @return |
| 132 | + * | |
| 133 | + * TODO This doesn't offer protection from generating column names that are reserved keywords. This does | |
| 134 | + * work with CQL 3.0, but may break in future specifications. Should fix this to ensure it does not. | |
| 132 | 135 | */ |
| 133 | 136 | private static String createColumnName(int i) { |
| 134 | - String[] letters = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j"}; | |
| 137 | + String[] letters = {"a", "b", "c", "d", "e", "f", "g", "h", "j", "l"}; | |
| 135 | 138 | |
| 136 | 139 | StringBuilder columnName; |
| 137 | 140 | int currentI; |
| @@ -176,7 +179,7 @@ | ||
| 176 | 179 | * Test a wide row of size 1,000,000 |
| 177 | 180 | * @throws Throwable |
| 178 | 181 | */ |
| 179 | - @Test(groups = "integration") | |
| 182 | + @Test(groups = "long") | |
| 180 | 183 | public void wideRows() throws Throwable { |
| 181 | 184 | Cluster.Builder builder = Cluster.builder(); |
| 182 | 185 | CCMBridge.CCMCluster c = CCMBridge.buildCluster(1, builder); |
| @@ -199,7 +202,7 @@ | ||
| 199 | 202 | * Test a batch that writes a row of size 10,000 |
| 200 | 203 | * @throws Throwable |
| 201 | 204 | */ |
| 202 | - @Test(groups = "integration") | |
| 205 | + @Test(groups = "short") | |
| 203 | 206 | public void wideBatchRows() throws Throwable { |
| 204 | 207 | Cluster.Builder builder = Cluster.builder(); |
| 205 | 208 | CCMBridge.CCMCluster c = CCMBridge.buildCluster(1, builder); |
| @@ -222,7 +225,7 @@ | ||
| 222 | 225 | * Test a wide row of size 1,000,000 consisting of a ByteBuffer |
| 223 | 226 | * @throws Throwable |
| 224 | 227 | */ |
| 225 | - @Test(groups = "integration") | |
| 228 | + @Test(groups = "long") | |
| 226 | 229 | public void wideByteRows() throws Throwable { |
| 227 | 230 | Cluster.Builder builder = Cluster.builder(); |
| 228 | 231 | CCMBridge.CCMCluster c = CCMBridge.buildCluster(1, builder); |
| @@ -245,7 +248,7 @@ | ||
| 245 | 248 | * Test a row with a single extra large text value |
| 246 | 249 | * @throws Throwable |
| 247 | 250 | */ |
| 248 | - @Test(groups = "integration") | |
| 251 | + @Test(groups = "short") | |
| 249 | 252 | public void largeText() throws Throwable { |
| 250 | 253 | Cluster.Builder builder = Cluster.builder(); |
| 251 | 254 | CCMBridge.CCMCluster c = CCMBridge.buildCluster(1, builder); |
| @@ -268,7 +271,7 @@ | ||
| 268 | 271 | * Creates a table with 330 columns |
| 269 | 272 | * @throws Throwable |
| 270 | 273 | */ |
| 271 | - @Test(groups = "integration") | |
| 274 | + @Test(groups = "short") | |
| 272 | 275 | public void wideTable() throws Throwable { |
| 273 | 276 | Cluster.Builder builder = Cluster.builder(); |
| 274 | 277 | CCMBridge.CCMCluster c = CCMBridge.buildCluster(1, builder); |