You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Kuan-Po Tseng (Jira)" <ji...@apache.org> on 2023/10/27 01:01:00 UTC

[jira] [Assigned] (YUNIKORN-2081) Update karma in web UI test

     [ https://issues.apache.org/jira/browse/YUNIKORN-2081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kuan-Po Tseng reassigned YUNIKORN-2081:
---------------------------------------

    Assignee: Kuan-Po Tseng

> Update karma in web UI test
> ---------------------------
>
>                 Key: YUNIKORN-2081
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2081
>             Project: Apache YuniKorn
>          Issue Type: Task
>          Components: webapp
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Kuan-Po Tseng
>            Priority: Major
>
> When trying to update karma to 5.x all the js tests fail.
> Karma 4.x logs this warning for a random suite
> {code:java}
> ERROR LOG: 'DEPRECATION: An asynchronous before/it/after function took a done callback but also returned a promise. This is not supported and will stop working in the future. Either remove the done callback (recommended) or change the function to not return a promise. (in suite: XXXX)
> Note: This message will be shown only once. Set the verboseDeprecations config property to true to see every occurrence.' {code}
> This changes to a hard failure in 5.x:
> {code:java}
> An error was thrown in afterAll
> An asynchronous before/it/after function took a done callback but also returned a promise. Either remove the done callback (recommended) or change the function to not return a promise. thrown {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org