Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Storage.HTTPCancelMultiple test occasionally fails #3163

Closed

Description

@jfirebaugh

https://travis-ci.org/mapbox/mapbox-gl-native/jobs/94300803#L1439

../../test/storage/http_cancel.cpp:43: Failure
Value of: res.error
  Actual: 8-byte object <60-43 24-01 00-00 00-00>
Expected: nullptr
Which is: 8-byte object <00-00 00-00 00-00 00-00>
../../test/storage/http_cancel.cpp:45: Failure
Value of: res.data.get()
  Actual: false
Expected: true

Activity

  1. jfirebaugh commented on Jan 4, 2016

    @jfirebaugh
    ContributorAuthor

    https://travis-ci.org/mapbox/mapbox-gl-native/jobs/100170656

    The message from the unexpected error is "Couldn't connect to server: couldn't connect to host".

  2. 1ec5 commented on Jan 4, 2016

    @1ec5
    Contributor

    This test is failing for me at least as often on Travis as the iOS KIF tests do on Bitrise.

  3. jfirebaugh commented on Jan 4, 2016

    @jfirebaugh
    ContributorAuthor

    The test server is initialized with gtest's Shared Test Resource functionality -- it's started once, used for all Storage tests, then shut down. But while it's active, it will shut itself down if there's no activity for 5 seconds. As of e6dc4fe this is quite common. When that happens, any subsequent tests that try to connect receive an error.

  4. self-assigned this
    on Jan 5, 2016
  5. jfirebaugh commented on Jan 5, 2016

    @jfirebaugh
    ContributorAuthor

    Fixed in 79368a0. Implementing proper process control is up for grabs.

  6. kkaefer commented on Jan 5, 2016

    @kkaefer
    Member

    → #3432

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions