Skip to content

Commit f270028

Browse files
Added DataTypeTests to the integration group
1 parent d1cbcc3 commit f270028

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

driver-core/src/test/java/com/datastax/driver/core/DataTypeTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ private static HashMap<DataType, String> getCollectionSelectStatements() {
388388
/**
389389
* Test simple statement inserts for all primitive data types
390390
*/
391-
@Test
391+
@Test(groups = "integration")
392392
public void primitiveInsertTest() throws Throwable {
393393
ResultSet rs;
394394
for (String execute_string : PRIMITIVE_INSERT_STATEMENTS) {
@@ -402,7 +402,7 @@ public void primitiveInsertTest() throws Throwable {
402402
/**
403403
* Validate simple statement selects for all primitive data types
404404
*/
405-
@Test
405+
@Test(groups = "integration")
406406
public void primitiveSelectTest() throws Throwable {
407407
String execute_string;
408408
Object value;
@@ -422,7 +422,7 @@ public void primitiveSelectTest() throws Throwable {
422422
/**
423423
* Test simple statement inserts for all collection data types
424424
*/
425-
@Test
425+
@Test(groups = "integration")
426426
public void collectionInsertTest() throws Throwable {
427427
ResultSet rs;
428428
for (String execute_string : COLLECTION_INSERT_STATEMENTS) {
@@ -436,7 +436,7 @@ public void collectionInsertTest() throws Throwable {
436436
/**
437437
* Test simple statement selects for all collection data types
438438
*/
439-
@Test
439+
@Test(groups = "integration")
440440
public void collectionSelectTest() throws Throwable {
441441
HashMap<DataType, Object> sampleValueMap;
442442
String execute_string;

testing/bin/coverage

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,16 @@ def main():
117117
maybe_setup_loopbacks()
118118

119119
# Start building the mvn command
120-
cobertura_build_command = 'mvn cobertura:cobertura'
120+
cobertura_build_command = 'mvn cobertura:cobertura -Pintegration'
121121
if args.cassandra_version:
122122
cobertura_build_command += ' -Dcassandra.version=%s' % args.cassandra_version
123123

124124
if args.test:
125125
# Run against a single mvn test
126-
execute('%s -Dmaven.test.failure.ignore=true -DfailIfNoTests=false -Dtest=%s' % (cobertura_build_command, args.test))
126+
execute('%s '
127+
'-Dmaven.test.failure.ignore=true '
128+
'-DfailIfNoTests=false '
129+
'-Dtest=%s' % (cobertura_build_command, args.test))
127130
else:
128131
# Run against the entire integration suite
129132
execute('%s' % cobertura_build_command)

0 commit comments

Comments
 (0)