Hello,

How can I find out if it is CPU or OI bound ?

It hangs before the very first test.

The test is an integration test, connecting to a MySql database schema.

For now my test is very simple:

@RooIntegrationTest(entity = Address.class)
public class AddressIntegrationTest {

        @Before
        public void beforeAnyTest() throws Exception {
        }
        
        @After
        public void afterAnyTest() throws Exception {
        }

        @Test
        @Transactional
        public void testSaveAndRetrieve() {
                AddressDataOnDemand dod = new AddressDataOnDemand();
                Address address = dod.getRandomAddress();
                assertNotNull(address.getId());
                Integer version = address.getVersion();
                addressRepository.saveAndFlush(address);
                assertTrue(version != address.getVersion());            
        }

}

Doing a Ctrl-C gives me back the prompt but I don't see any console output
like a dump.

This test is within a Spring Roo application.

I also created a pure Spring application last year, not a Roo one, with lots
of integration tests against a Dao layer on the very same MySql database
schema. And this Maven project builds fine. But not the Roo one.



--
View this message in context: 
http://maven.40175.n5.nabble.com/What-diagnostic-action-to-take-when-Maven-hangs-tp5725345p5725358.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to