Skip to content

Commit 743d06e

Browse files
committed
Use TeeAppProperties builder in tests
1 parent 81c898b commit 743d06e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/test/java/com/iexec/worker/tee/TeeServicesPropertiesServiceTests.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,10 @@ class TeeServicesPropertiesServiceTests {
5454
private static final long POST_COMPUTE_HEAP_SIZE = 1024L;
5555
private static final String POST_COMPUTE_ENTRYPOINT = "postComputeEntrypoint";
5656
private static final GramineServicesProperties GRAMINE_PROPERTIES = new GramineServicesProperties(
57-
new TeeAppProperties(PRE_COMPUTE_IMAGE, "", PRE_COMPUTE_ENTRYPOINT, PRE_COMPUTE_HEAP_SIZE),
58-
new TeeAppProperties(POST_COMPUTE_IMAGE, "", POST_COMPUTE_ENTRYPOINT, POST_COMPUTE_HEAP_SIZE)
57+
TeeAppProperties.builder().image(PRE_COMPUTE_IMAGE).fingerprint("")
58+
.entrypoint(PRE_COMPUTE_ENTRYPOINT).heapSizeInBytes(PRE_COMPUTE_HEAP_SIZE).build(),
59+
TeeAppProperties.builder().image(POST_COMPUTE_IMAGE).fingerprint("")
60+
.entrypoint(POST_COMPUTE_ENTRYPOINT).heapSizeInBytes(POST_COMPUTE_HEAP_SIZE).build()
5961
);
6062

6163
@Mock

0 commit comments

Comments
 (0)