You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expectedMessageContains: "msg: String regex conversion error, normalized query: test_query, query range seconds: 60, updating cache for error: no error code here",
43
43
},
44
44
{
45
45
name: "Non-cacheable error code",
46
46
err: errors.New("Code(500)"),
47
47
queryExpressionNormalized: "test_query",
48
48
queryExpressionRangeLength: 60,
49
49
expectedResult: false,
50
-
expectedMessageContains: "Query not cached due to non-cacheable error code",
50
+
expectedMessageContains: "msg: Query not cached due to non-cacheable error code, normalized query: test_query, query range seconds: 60, updating cache for error: Code(500)",
51
51
},
52
52
{
53
53
name: "Cacheable error code",
54
54
err: errors.New("Code(408)"),
55
55
queryExpressionNormalized: "test_query",
56
56
queryExpressionRangeLength: 60,
57
57
expectedResult: true,
58
-
expectedMessageContains: "Cached a failed query",
58
+
expectedMessageContains: "msg: Cached a failed query, normalized query: test_query, range seconds: 60, updating cache for error: Code(408)",
0 commit comments