Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Test] Flaky unit test on feature/feature-anywhere - packages/osd-opensearch-archiver/src/lib/docs/generate_doc_records_stream.test.ts #3400

Open
joshuarrrr opened this issue Feb 8, 2023 · 0 comments

Comments

@joshuarrrr
Copy link
Member

See https://github.com/opensearch-project/OpenSearch-Dashboards/actions/runs/4128683579/jobs/7133430521

 Summary of all failing tests
 FAIL  packages/osd-opensearch-archiver/src/lib/docs/generate_doc_records_stream.test.ts
  ● opensearchArchiver: createGenerateDocRecordsStream() › consumes index names and scrolls completely before continuing

    expected 199 to be above 200

      109 |
      110 |   if (!ok) {
    > 111 |     err = new Error(msg.call(this));
          |           ^
      112 |     if (this.customMsg) {
      113 |       err.message = this.customMsg;
      114 |     }

      at Assertion.assert (packages/osd-expect/expect.js:111:11)
      at Assertion.apply (packages/osd-expect/expect.js:347:8)
      at Function.lessThan (packages/osd-expect/expect.js:542:15)
      at response (packages/osd-opensearch-archiver/src/lib/docs/generate_doc_records_stream.test.ts:119:51)
      at Object.<anonymous> (packages/osd-opensearch-archiver/src/lib/docs/test_stubs.ts:75:20)
      at Function.invoke (node_modules/sinon/lib/sinon/spy.js:302:51)
      at Object.search (node_modules/sinon/lib/sinon/spy.js:90:30)
      at Transform.transform [as _transform] (packages/osd-opensearch-archiver/src/lib/docs/generate_doc_records_stream.ts:60:33)
      at Transform.transform [as _transform] (packages/osd-opensearch-archiver/src/lib/docs/generate_doc_records_stream.ts:100:9)


Test Suites: 1 failed, 1 skipped, 1511 passed, 1512 of 1513 total
Tests:       1 failed, 28 skipped, 9 todo, 11433 passed, 11471 total
Snapshots:   2517 passed, 2517 total
Time:        2854.324 s
Ran all test suites.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant