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

log test is throwing exception #95

Closed
rabbah opened this issue Jan 12, 2020 · 1 comment
Closed

log test is throwing exception #95

rabbah opened this issue Jan 12, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@rabbah
Copy link
Contributor

rabbah commented Jan 12, 2020

Describe the bug
this test:

test('throws error retrieve logs of an activation', () => {

is reporting an error when executing - I'm unsure what this test is doing to offer a fix.

To Reproduce

> ./node_modules/.bin/jest --clearCache && npm run test -- -i test/commands/runtime/activation/logs.test.js 

> @adobe/aio-cli-plugin-runtime@1.3.0 test /Users/rabbah/projects/aio-cli-plugin-runtime
> npm run unit-tests "-i" "test/commands/runtime/activation/logs.test.js"

> @adobe/aio-cli-plugin-runtime@1.3.0 unit-tests /Users/rabbah/projects/aio-cli-plugin-runtime
> jest --ci "test/commands/runtime/activation/logs.test.js"

(node:73864) UnhandledPromiseRejectionWarning: Error: failed to retrieve logs for activation: Async error
 specify --verbose flag for more information
(node:73864) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:73864) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
 PASS  test/commands/runtime/activation/logs.test.js
  ○ skipped exports
  ○ skipped description
  ○ skipped aliases
  ○ skipped args
  ○ skipped flags
  instance methods
    run
      ✓ throws error retrieve logs of an activation (12ms)

Expected behavior
The test should pass without throwing any exceptions.

Additional context
On git log -1 119ca32353921aa56963a56cbbedcfe8b597e72e

@meryllblanchet meryllblanchet added the bug Something isn't working label Jan 13, 2020
@adobe-bot
Copy link

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-626

DrewML added a commit to DrewML/aio-cli-plugin-runtime that referenced this issue Feb 6, 2020
bhageena pushed a commit to bhageena/aio-cli-plugin-runtime that referenced this issue Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants