Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
ununhexium committed Jan 29, 2025
1 parent 94c99e1 commit b4fa32d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/src/test/java/de/sovity/edc/e2e/UiApiWrapperTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
import de.sovity.edc.extension.e2e.connector.remotes.test_backend_controller.TestBackendRemote;
import de.sovity.edc.extension.e2e.junit.CeE2eTestExtension;
import de.sovity.edc.extension.e2e.junit.CeE2eTestSide;
import de.sovity.edc.extension.e2e.junit.Janitor;
import de.sovity.edc.extension.e2e.junit.utils.Consumer;
import de.sovity.edc.extension.e2e.junit.utils.Provider;
import de.sovity.edc.extension.utils.junit.DisabledOnGithub;
Expand All @@ -67,7 +68,11 @@
import org.eclipse.edc.spi.system.configuration.Config;
import org.jetbrains.annotations.NotNull;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.MethodOrderer;
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestMethodOrder;
import org.junit.jupiter.api.extension.RegisterExtension;

import java.time.LocalDate;
Expand All @@ -90,6 +95,7 @@
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
import static org.junit.jupiter.api.Assertions.assertThrows;

@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
class UiApiWrapperTest {

private static final String PROVIDER_PARTICIPANT_ID = CeE2eTestSide.PROVIDER.getParticipantId();
Expand Down Expand Up @@ -1107,6 +1113,7 @@ void onlyCreateTheAssetWhenDontPublish(
.hasSize(0);
}

@Order(Order.DEFAULT + 1)
@Test
void canLoadTheDashboardWithLargeNumberOfAssets(
E2eTestScenario scenario,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import org.eclipse.edc.spi.query.QuerySpec;
import org.eclipse.edc.spi.result.ServiceResult;
import org.eclipse.edc.spi.system.configuration.Config;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;
import org.mockito.Mockito;
Expand Down Expand Up @@ -82,6 +83,7 @@ class DashboardPageApiServiceTest {

private final Random random = new Random();

@Disabled("Stopped working because now using jooQ to count from the DB directly")
@Test
void testKpis(EdcClient client) {
// arrange
Expand Down

0 comments on commit b4fa32d

Please sign in to comment.