Skip to content

[test] Unit test fails on swiftlang/swift:nightly-main-jammy #509

Open
@sebsto

Description

@sebsto

Expected behavior

Using the MockServer triggers a fatalError() in LambdaRuntimeClient

AWSLambdaRuntime/LambdaRuntimeClient.swift:339: Fatal error: Incorrect actor executor assumption; Expected same executor as AWSLambdaRuntime.LambdaRuntimeClient.

Actual behavior

should not crash

Steps to reproduce

docker run -it --rm -v .:/work swiftlang/swift:nightly-6.1-jammy bash -c "cd work && swift test" 

🛑

docker run -it --rm -v .:/work swiftlang/swift:nightly-main-jammy bash -c "cd work && swift test" 

If possible, minimal yet complete reproducer code (or URL to code)

see above

What version of this project (swift-aws-lambda-runtime) are you using?

main

Swift version

6.1
Swift version 6.1-dev (LLVM 08670c03fe16573, Swift 493744d5e4900b2)
Target: aarch64-unknown-linux-gnu

main
Swift version 6.2-dev (LLVM 162ee50b401fff2, Swift 57288d13c9f3c02)
Target: aarch64-unknown-linux-gnu
Build config: +assertions

Amazon Linux 2 docker image version

No response

Metadata

Metadata

Assignees

Labels

kind/bugFeature doesn't work as expected.

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions