Running integration tests throws unsupported operation exception in grails 2.2?
I am using grails 2.2 for development. I am running integration tests with test-app -integration command.
I have lots of integration tests but the display shows only a few tests are being run and i get few initialization error exceptions in console. What is the reason for this same error being thrown every now and then?
|Running 68 integration tests... 8 of 50
--Output from testGetNumbersAfterInRange--
|Running 68 integration tests... 9 of 50
--Output from initializationError--
Failure: |
initializationError(BillingServiceTests)
|
java.lang.UnsupportedOperationException
at java.util.Collections$UnmodifiableCollection.add(Collections.java:1075)
java.lang.UnsupportedOperationException
at java.util.Collections$UnmodifiableCollection.add(Collections.java:1075)
|Running 68 integration tests... 10 of 50
--Output from initializationError--
Failure: |
initializationError(CompositeEventControllerTests)
|
java.lang.UnsupportedOperationException
at java.util.Collections$UnmodifiableCollection.add(Collections.java:1075)
java.lang.UnsupportedOperationException
at java.util.Collections$UnmodifiableCollection.add(Collections.java:1075)
|Running 68 integration tests... 11 of 50
--Output from initializationError--
Failure: |
initializationError(CompositeEventControllerTransactionalTests)
|
java.lang.UnsupportedOperationException
at java.util.Collections$UnmodifiableCollection.add(Collections.java:1075)
java.lang.UnsupportedOperationException
at java.util.Collections$UnmodifiableCollection.add(Collections.java:1075)
Please sign in to leave a comment.
Do you think the issue is in IntelliJ IDEA? Do the tests run fine in the command line?
before this i used eclipse sstg IDE and the integration tests runned fine so i think the issue is related to intellij IDE.
Please check how it works in the command line.
ok i just tried in the command prompt and it shows the same output. i.e it doesnt show the correct amount of tests and shows the same initializationerror. So looks like it is not intellij specific error.