Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
<dependency>
<groupId>com.vmlens</groupId>
<artifactId>api</artifactId>
<version>1.2.13</version>
<version>1.2.14</version>
<scope>test</scope>
</dependency>

Expand Down Expand Up @@ -348,7 +348,7 @@
</activation>
<build>
<plugins>
<!--<plugin>
<plugin>
<groupId>com.vmlens</groupId>
<artifactId>vmlens-maven-plugin</artifactId>
<version>1.2.14</version>
Expand All @@ -359,11 +359,14 @@
<goal>test</goal>
</goals>
<configuration>
<includes>
<include>**/*CT.java</include>
</includes>
Comment on lines +362 to +364
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The indentation for the new <includes> block seems to be inconsistent, likely due to a mix of tabs and spaces. For better readability and maintainability, it's good practice to use consistent indentation. Adopting the 4-space indentation used elsewhere in this file would improve consistency.

Suggested change
<includes>
<include>**/*CT.java</include>
</includes>
<includes>
<include>**/*CT.java</include>
</includes>

<failIfNoTests>true</failIfNoTests>
</configuration>
</execution>
</executions>
</plugin>-->
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.8.1</version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import dev.openfeature.sdk.providers.memory.InMemoryProvider;
import io.cucumber.java.en.Given;
import io.cucumber.java.en.Then;
import java.time.Duration;
import java.util.Map;
import org.awaitility.Awaitility;

Expand Down Expand Up @@ -122,7 +123,7 @@ private void setupMockProvider(ErrorCode errorCode, String errorMessage, Provide
break;
default:
}
Awaitility.await().until(() -> {
Awaitility.await().atMost(Duration.ofSeconds(30)).until(() -> {
ProviderState providerState1 = client.getProviderState();
return providerState1 == providerState;
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

class VmLensTest {
class VmLensCT {
final OpenFeatureAPI api = OpenFeatureAPITestUtil.createAPI();

@BeforeEach
Expand Down
Loading