mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
fix(lambda): report resolved executed version (#2026)
This commit is contained in:
1 parent
3baf4f4849
commit
2889fbdef8
4 files changed
+26
-3
No files matched your search
+13
-1
@@ -77,6 +77,18 @@ class LambdaVersionIntegrationTest {
|
||||
|
||||
@Test
|
||||
@Order(4)
|
||||
void invokePublishedVersionReturnsExecutedVersion() {
|
||||
given()
|
||||
.header("X-Amz-Invocation-Type", "DryRun")
|
||||
.when()
|
||||
.post(BASE_PATH + "/functions/" + FUNCTION_NAME + ":1/invocations")
|
||||
.then()
|
||||
.statusCode(204)
|
||||
.header("X-Amz-Executed-Version", equalTo("1"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@Order(5)
|
||||
void listVersionsByFunction() {
|
||||
given()
|
||||
.when()
|
||||
@@ -90,7 +102,7 @@ class LambdaVersionIntegrationTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Order(5)
|
||||
@Order(6)
|
||||
void deleteFunctionDeletesAllVersions() {
|
||||
// Delete function
|
||||
given()
|
||||
|
||||
Reference in new issue
Block a user