Skip to content

Investigate why the api exporter test is flaky #8483

@isoos

Description

@isoos
test/package/api_export/api_exporter_test.dart: apiExporter.start() (failed)
  ClientException: Connection reset by peer, uri=http://localhost:43987/api/admin/actions/moderate-package-version
package:http/src/io_client.dart 156:7                        IOClient.send
  ===== asynchronous gap ===========================
  package:http/retry.dart 115:20                               RetryClient.send
  ===== asynchronous gap ===========================
  package:pub_dev/tool/utils/http.dart 74:12                   _AuthenticatedClient.send
  ===== asynchronous gap ===========================
  package:api_builder/_client_utils.dart 64:52                 Client.requestJson.<fn>
  ===== asynchronous gap ===========================
  package:pub_dev/frontend/handlers/pubapi.client.dart 4[96](https://github.com/dart-lang/pub-dev/actions/runs/12906633199/job/35988545810?pr=8482#step:7:99):51  PubApiClient.adminInvokeAction
  ===== asynchronous gap ===========================
  test/package/api_export/api_exporter_test.dart 299:5         _testExportedApiSynchronization
  ===== asynchronous gap ===========================
  test/package/api_export/api_exporter_test.dart 81:7          main.<fn>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions