TritonDataCenter / node-docker-registry-client

node.js client for the docker registry
Mozilla Public License 2.0
64 stars 33 forks source link

v2.gcrio.test.js failure #19

Closed trentm closed 7 years ago

trentm commented 7 years ago
$ node test/v2.gcrio.test.js
...
#   createBlobReadStream
ok 45 null
ok 46 should be truthy
ok 47 should be truthy
ok 48 first request status code 200, 302 or 307: statusCode=200
ok 49 should be equal
ok 50 should be truthy
ok 51 should be equal
not ok 52 should be equal
  ---
    operator: equal
    expected: |-
      'application/octet-stream'
    actual: |-
      'text/html'
    at: next (/Users/trentm/joy/node-docker-registry-client2/node_modules/vasync/lib/vasync.js:201:4)
  ...
ok 53 should be truthy
ok 54 should be equal
ok 55 should be equal
trentm commented 7 years ago

For some reason, and at some point since I whoever last had a green run of the test suite, GCR is returning Content-Type: text/html for that blob (the first layer) of that image being used for the test. /shrug

trentm commented 7 years ago

https://cr.joyent.us/#/c/2218/