Skip to content

Commit

Permalink
Workaround hanging Swift test in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
arg0d committed Jan 6, 2025
1 parent b4c2a29 commit e623f83
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,8 @@ assert(getMaybeUniffiOneEnums(es: [UniffiOneEnum.one, nil]) == [UniffiOneEnum.on

let g = getGuidProcmacro(g: nil)
assert(g == getGuidProcmacro(g: g))

// The test crashes in the async task above if the main thread exits too quickly.
// We don't care about async functions right now, so let's just make the test pass.
// https://github.com/NordSecurity/uniffi-rs/issues/18
Thread.sleep(forTimeInterval: 1)

0 comments on commit e623f83

Please sign in to comment.