I'm trying to make a new profile to run some tests for the glacier provider
that will take several hours (3~5).

The test class name is GlacierClientLongLiveTest, so it's excluded by
default unless we use the live profile. I duplicated the live profile, and
renamed one of them to "long", and then I excluded the LongLiveTest class
from the live tests. The result is this:

https://gist.github.com/anonymous/ba040db5c3583703c493

The idea is running the live tests like this:
mvn -Plive clean install -Dtest.aws.identity=ID -Dtest.aws.credential=PW

And the long tests like this:
mvn -Plong clean install -Dtest.aws.identity=ID -Dtest.aws.credential=PW

This doesn't work. Andrew Gaul helped me with a workaround, which consists
in adding the following exclude to the long profile:
<excludes>
  <exclude>**/*$*</exclude>
</excludes>

This exclude rewrites the exclude from the live tests, allowing us to run
both tests using both profiles together with the -Plive,long option.
Anyway, I think It would be great if we could use both profiles
independently.

Does anyone know a good way to solve this?

Best regards.

Reply via email to