We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3308e3 commit 5fc746bCopy full SHA for 5fc746b
Tests/AWSLambdaRuntimeTests/UtilsTest.swift
@@ -19,11 +19,11 @@ import Testing
19
struct UtilsTest {
20
@Test
21
func testGenerateXRayTraceID() {
22
+ // the time and identifier should be in hexadecimal digits
23
+ let allowedCharacters = "0123456789abcdef"
24
let numTests = 1000
25
var values = Set<String>()
26
for _ in 0..<numTests {
- // the time and identifier should be in hexadecimal digits
- let allowedCharacters = "0123456789abcdef"
27
// check the format, see https://docs.aws.amazon.com/xray/latest/devguide/xray-api-sendingdata.html#xray-api-traceids)
28
let traceId = AmazonHeaders.generateXRayTraceID()
29
let segments = traceId.split(separator: "-")
0 commit comments