Skip to content

Commit cdaf3d7

Browse files
Use mockito-subclass for GraalVM native tests
- Add mockito-subclass dependency in native profile - Remove skipNativeTests flag - Follows pattern from powertools-metrics module - All 61 tests pass in idempotency parent module
1 parent 52cdcc9 commit cdaf3d7

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • powertools-idempotency/powertools-idempotency-dynamodb

powertools-idempotency/powertools-idempotency-dynamodb/pom.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,18 @@
119119
<artifactId>aws-xray-recorder-sdk-aws-sdk-v2-instrumentor</artifactId>
120120
<scope>test</scope>
121121
</dependency>
122+
<dependency>
123+
<groupId>org.mockito</groupId>
124+
<artifactId>mockito-subclass</artifactId>
125+
<scope>test</scope>
126+
</dependency>
122127
</dependencies>
123128
<build>
124129
<plugins>
125130
<plugin>
126131
<groupId>org.graalvm.buildtools</groupId>
127132
<artifactId>native-maven-plugin</artifactId>
128133
<configuration>
129-
<skipNativeTests>true</skipNativeTests>
130134
<imageName>powertools-idempotency-dynamodb</imageName>
131135
<exclusions>
132136
<exclusion>

0 commit comments

Comments
 (0)