Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Commit 7037f56

Browse files
committed
Make awaitility test scoped (as it should be)
1 parent 9d6512c commit 7037f56

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

samples/cloud-function-aws/README.md

+1-7
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,4 @@ $ ./mvnw package -P native
77

88
builds a native-zip ZIP file in target. Upload it to AWS and set the handler to "foobar".
99

10-
To test locally, run the `TestServer` and then the `DemoApplication` (either in a JVM or natively). Then POST some data into the test server:
11-
12-
```
13-
$ curl localhost:8000/add -d world -H "Content-Type: text/plain"
14-
```
15-
16-
There is a unit test that does the same thing. Also the `build.sh` script orchestrates the same test for the native image.
10+
To test locally, run the `ContainerTests`. Also the `build.sh` script orchestrates the same test for the native image.

samples/cloud-function-aws/pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
<dependency>
4545
<groupId>org.awaitility</groupId>
4646
<artifactId>awaitility</artifactId>
47+
<scope>test</scope>
4748
</dependency>
4849
<dependency>
4950
<groupId>org.testcontainers</groupId>

0 commit comments

Comments
 (0)