Skip to content

Commit

Permalink
#46: Re-enabling TRUNCATEs in specs.
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelkiessling committed Jan 19, 2017
1 parent fe9abc1 commit 4e538cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/test/IntegrationSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class IntegrationSpec extends PlaySpec with OneBrowserPerSuite with OneServerPer
val uri = CassandraConnectionUri(uriString)
val session = CassandraClient.createSessionAndInitKeyspace(uri)

//session.execute("TRUNCATE statistics;")
session.execute("TRUNCATE statistics;")

session.execute(
s"""
Expand Down
2 changes: 1 addition & 1 deletion common/src/test/scala/CassandraClientSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class CassandraClientSpec extends FunSpec with Matchers {
val resultSet = session.execute(selectStmt)
val row = resultSet.one()
row.getString("name") should be("foo")
//session.execute("TRUNCATE things;")
session.execute("TRUNCATE things;")
}
}

Expand Down
2 changes: 1 addition & 1 deletion importer/src/test/scala/ImporterSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class ImporterSpec extends FunSpec with Matchers {
val uri = CassandraConnectionUri(uriString)
val firstSession = CassandraClient.createSessionAndInitKeyspace(uri)

//firstSession.execute("TRUNCATE testresults;")
firstSession.execute("TRUNCATE testresults;")

Importer.run("./testresults.json", firstSession)

Expand Down

0 comments on commit 4e538cb

Please sign in to comment.