gora
gora copied to clipboard
GORA-464 Get gora-dynamodb back up and running and available as part of the examples
This is a first attempt at addressing GORA-464
The only thing you need to change in order to run the tests is the AwsCredentials.properties file.
Right now I am getting nasty Exceptions so I will investigate later on
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.gora.dynamodb.TestDynamoDBStore
[ERROR] Tests run: 21, Failures: 0, Errors: 21, Skipped: 0, Time elapsed: 1.234 s <<< FAILURE! - in org.apache.gora.dynamodb.TestDynamoDBStore
[ERROR] testQueryStartKey(org.apache.gora.dynamodb.TestDynamoDBStore) Time elapsed: 0.855 s <<< ERROR!
java.lang.StackOverflowError
[ERROR] testQueryEndKey(org.apache.gora.dynamodb.TestDynamoDBStore) Time elapsed: 0.009 s <<< ERROR!
java.lang.StackOverflowError
[ERROR] testDeleteByQueryFields(org.apache.gora.dynamodb.TestDynamoDBStore) Time elapsed: 0.01 s <<< ERROR!
java.lang.StackOverflowError
[ERROR] testNewInstance(org.apache.gora.dynamodb.TestDynamoDBStore) Time elapsed: 0.009 s <<< ERROR!
java.lang.StackOverflowError
[ERROR] testAutoCreateSchema(org.apache.gora.dynamodb.TestDynamoDBStore) Time elapsed: 0.009 s <<< ERROR!
java.lang.StackOverflowError
[ERROR] testTruncateSchema(org.apache.gora.dynamodb.TestDynamoDBStore) Time elapsed: 0.016 s <<< ERROR!
java.lang.StackOverflowError
[ERROR] testPutNested(org.apache.gora.dynamodb.TestDynamoDBStore) Time elapsed: 0.012 s <<< ERROR!
java.lang.StackOverflowError
[ERROR] testPutArray(org.apache.gora.dynamodb.TestDynamoDBStore) Time elapsed: 0.009 s <<< ERROR!
java.lang.StackOverflowError
[ERROR] testPutBytes(org.apache.gora.dynamodb.TestDynamoDBStore) Time elapsed: 0.008 s <<< ERROR!
java.lang.StackOverflowError
[ERROR] testPutMap(org.apache.gora.dynamodb.TestDynamoDBStore) Time elapsed: 0.013 s <<< ERROR!
java.lang.StackOverflowError
[ERROR] testDeleteSchema(org.apache.gora.dynamodb.TestDynamoDBStore) Time elapsed: 0.009 s <<< ERROR!
java.lang.StackOverflowError
[ERROR] testGetWithFields(org.apache.gora.dynamodb.TestDynamoDBStore) Time elapsed: 0.007 s <<< ERROR!
java.lang.StackOverflowError
[ERROR] testPut(org.apache.gora.dynamodb.TestDynamoDBStore) Time elapsed: 0.007 s <<< ERROR!
java.lang.StackOverflowError
[ERROR] testCreateSchema(org.apache.gora.dynamodb.TestDynamoDBStore) Time elapsed: 0.008 s <<< ERROR!
java.lang.StackOverflowError
[ERROR] testSchemaExists(org.apache.gora.dynamodb.TestDynamoDBStore) Time elapsed: 0.008 s <<< ERROR!
java.lang.StackOverflowError
[ERROR] testUpdate(org.apache.gora.dynamodb.TestDynamoDBStore) Time elapsed: 0.015 s <<< ERROR!
java.lang.StackOverflowError
[ERROR] testGet(org.apache.gora.dynamodb.TestDynamoDBStore) Time elapsed: 0.014 s <<< ERROR!
java.lang.StackOverflowError
[ERROR] testQuery(org.apache.gora.dynamodb.TestDynamoDBStore) Time elapsed: 0.009 s <<< ERROR!
java.lang.StackOverflowError
[ERROR] testQueryKeyRange(org.apache.gora.dynamodb.TestDynamoDBStore) Time elapsed: 0.007 s <<< ERROR!
java.lang.StackOverflowError
[ERROR] testDelete(org.apache.gora.dynamodb.TestDynamoDBStore) Time elapsed: 0.01 s <<< ERROR!
java.lang.StackOverflowError
[ERROR] testDeleteByQuery(org.apache.gora.dynamodb.TestDynamoDBStore) Time elapsed: 0.008 s <<< ERROR!
java.lang.StackOverflowError
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] TestDynamoDBStore.testAutoCreateSchema » StackOverflow
[ERROR] TestDynamoDBStore.testCreateSchema » StackOverflow
[ERROR] TestDynamoDBStore.testDelete » StackOverflow
[ERROR] TestDynamoDBStore.testDeleteByQuery » StackOverflow
[ERROR] TestDynamoDBStore.testDeleteByQueryFields » StackOverflow
[ERROR] TestDynamoDBStore.testDeleteSchema » StackOverflow
[ERROR] TestDynamoDBStore.testGet » StackOverflow
[ERROR] TestDynamoDBStore.testGetWithFields » StackOverflow
[ERROR] TestDynamoDBStore.testNewInstance » StackOverflow
[ERROR] TestDynamoDBStore.testPut » StackOverflow
[ERROR] TestDynamoDBStore.testPutArray » StackOverflow
[ERROR] TestDynamoDBStore.testPutBytes » StackOverflow
[ERROR] TestDynamoDBStore.testPutMap » StackOverflow
[ERROR] TestDynamoDBStore.testPutNested » StackOverflow
[ERROR] TestDynamoDBStore.testQuery » StackOverflow
[ERROR] TestDynamoDBStore.testQueryEndKey » StackOverflow
[ERROR] TestDynamoDBStore.testQueryKeyRange » StackOverflow
[ERROR] TestDynamoDBStore.testQueryStartKey » StackOverflow
[ERROR] TestDynamoDBStore.testSchemaExists » StackOverflow
[ERROR] TestDynamoDBStore.testTruncateSchema » StackOverflow
[ERROR] TestDynamoDBStore.testUpdate » StackOverflow
[INFO]
[ERROR] Tests run: 21, Failures: 0, Errors: 21, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.627 s
[INFO] Finished at: 2019-08-16T21:29:20-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20:test (default-test) on project gora-dynamodb: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/lmcgibbn/Downloads/gora/gora-dynamodb/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
@renato2099 FYI buddy
Anyone been able to look at this/ I've not had any real time to go back and take a look.
hey @lewismc I haven't had time to look at this, but I will get some time over the weekend and next week, and report back
Anyone had chance to look into this?