Search in sources :

Example 1 with TimeSensitive

use of tech.sirwellington.alchemy.annotations.testing.TimeSensitive in project aroma-data-operations by RedRoma.

the class CassandraOrganizationRepositoryIT method testSaveOrganizationTwice.

@DontRepeat
@TimeSensitive
@Test
public void testSaveOrganizationTwice() throws Exception {
    instance.saveOrganization(org);
    Thread.sleep(5);
    instance.saveOrganization(org);
    Organization result = instance.getOrganization(orgId);
    assertMostlyMatch(result, org);
}
Also used : Organization(tech.aroma.thrift.Organization) IntegrationTest(tech.sirwellington.alchemy.annotations.testing.IntegrationTest) TimeSensitive(tech.sirwellington.alchemy.annotations.testing.TimeSensitive)

Aggregations

Organization (tech.aroma.thrift.Organization)1 IntegrationTest (tech.sirwellington.alchemy.annotations.testing.IntegrationTest)1 TimeSensitive (tech.sirwellington.alchemy.annotations.testing.TimeSensitive)1