Skip to content

Commit 54f4152

Browse files
committed
Template data files to make okhttp2 test runnable in CI
OkHttp2 doesn't invalidate caches sometimes when it probably should
1 parent 06334bf commit 54f4152

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

src/test/resources/org/kohsuke/github/extras/GitHubCachingTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero_GitHubRef_Error/mappings/repos_github-api-test-org_github-api_git_refs_heads_test_content_ref_cache-10-05226c.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
},
1111
"If-Modified-Since": {
1212
"absent": true
13-
},
14-
"If-None-Match": {
15-
"absent": true
1613
}
1714
}
1815
},

src/test/resources/org/kohsuke/github/extras/GitHubCachingTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero_GitHubRef_Error/mappings/repos_github-api-test-org_github-api_git_refs_heads_test_content_ref_cache-11-6e1f95.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"method": "GET",
77
"headers": {
88
"If-Modified-Since": {
9-
"contains" : "GMT"
9+
"contains": "GMT"
1010
},
1111
"Cache-Control": {
1212
"equalTo": "max-age=0"

src/test/resources/org/kohsuke/github/extras/GitHubCachingTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero_GitHubRef_Error/mappings/repos_github-api-test-org_github-api_git_refs_heads_test_content_ref_cache-13-60a342.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"method": "GET",
77
"headers": {
88
"If-Modified-Since": {
9-
"contains" : "GMT"
9+
"contains": "GMT"
1010
},
1111
"Cache-Control": {
1212
"equalTo": "max-age=0"

0 commit comments

Comments
 (0)