Skip to content

Commit

Permalink
tests/macos: Restrict filename length to avoid unixDomainSocketPathTo…
Browse files Browse the repository at this point in the history
…oLong
  • Loading branch information
Pushkar Kulkarni committed Mar 24, 2019
1 parent 5c995f0 commit 7602ff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/KituraNetTests/LargePayloadTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class LargePayloadTests: KituraNetTest {
temporaryDirectory = "/tmp"
}
#endif
return temporaryDirectory + "/" + ProcessInfo.processInfo.globallyUniqueString
return temporaryDirectory + "/" + String(ProcessInfo.processInfo.globallyUniqueString.prefix(20))
}

func testLargePosts() {
Expand Down

0 comments on commit 7602ff8

Please sign in to comment.