AWScala icon indicating copy to clipboard operation
AWScala copied to clipboard

Failing Tests

Open mslinn opened this issue 10 years ago • 7 comments

I just ran sbt test on the develop branch, and got:

[info] Run completed in 54 seconds, 301 milliseconds.
[info] Total number of tests run: 9
[info] Suites: completed 9, aborted 0
[info] Tests: succeeded 6, failed 3, canceled 0, ignored 0, pending 0
[info] *** 3 TESTS FAILED ***
[error] Failed tests:
[error]     awscala.EC2Spec
[error]     awscala.DynamoDBV2Spec
[error] (test:test) sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 200 s, completed May 1, 2014 10:49:17 PM

Is anything else supposed to be running in order for these tests to work, or are there configurations, permissions or configurations required... or are these actually broken tests?

mslinn avatar May 02 '14 05:05 mslinn

Maybe some tests are broken... Since it's difficult to run this library's tests on Travis CI, I don't know when tests was broken.

seratch avatar May 02 '14 05:05 seratch

wrt awscala.DynamoDBV2Spec, you have to run a local dynamodb instance - see http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tools.DynamoDBLocal.html for more info. I've just done a git pull and run that test on the develop branch to verify it still passes and it does.

I have no idea about awscala.EC2Spec however.

Rheeseyb avatar May 02 '14 06:05 Rheeseyb

Thanks! A comment like this on the test might be helpful, or even a short testing section in the README: "You have to run a local dynamodb instance - see http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tools.DynamoDBLocal.html for more info."

mslinn avatar May 02 '14 06:05 mslinn

Yeah, sorry, I thought I had! I've just added a comment to the README: https://github.com/seratch/AWScala/commit/d725145a862bc8731bf7b549e3392ff8e80ab359

Rheeseyb avatar May 02 '14 06:05 Rheeseyb

@mslinn @Rheeseyb

I just added you all to collaborators. Feel free to merge PRs and update develop branch!

Recently I'm not active on this project but I'm the owner of this project and have permission to publish to sonatype repos. When we need to release new version, frankly ping me.

seratch avatar May 02 '14 06:05 seratch

Thank you, I'm working on adding CloudFront (https://github.com/mslinn/AWScala). Will issue a PR when ready. I also cleaned up some other things.

I do not understand what the problem is re. SBT 0.13.2.-M3, or I would have fixed it. Hopefully someone else can do that.

mslinn avatar May 02 '14 06:05 mslinn

I do not understand what the problem is re. SBT 0.13.2.-M3, or I would have fixed it. Hopefully someone else can do that.

@mslinn Fixed. Sorry for having borthered you.

seratch avatar May 02 '14 08:05 seratch