You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "kakulisen (Jira)" <ji...@apache.org> on 2019/12/11 15:18:00 UTC

[jira] [Updated] (SCB-1657) fix test error on windows

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

kakulisen updated SCB-1657:
---------------------------
        Fix Version/s: toolkit-0.2.0
    Affects Version/s: toolkit-0.2.0
          Description:     (was: In Windows, uses File.size to get the size of the directory always returns zero and causes the assertion to fail

```java
[INFO] Running org.apache.servicecomb.toolkit.cli.CliTest
[ERROR] Tests run: 6, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 2.884 s <<< FAILURE! - in org.apache.servicecomb.toolkit.cli.CliTest
[ERROR] testGenerateServiceCombCodeFromSingleContract(org.apache.servicecomb.toolkit.cli.CliTest)  Time elapsed: 0.834 s  <<< FAILURE!
java.lang.AssertionError
        at org.apache.servicecomb.toolkit.cli.CliTest.lambda$testGenerateServiceCombCodeFromSingleContract$0(CliTest.java:54)
        at org.apache.servicecomb.toolkit.cli.CliTest.testGenerateServiceCombCodeFromSingleContract(CliTest.java:36)


[ERROR] testGenerateCodeFromMultiContract(org.apache.servicecomb.toolkit.cli.CliTest)  Time elapsed: 0.602 s  <<< FAILURE!
java.lang.AssertionError
        at org.apache.servicecomb.toolkit.cli.CliTest.testGenerateCodeFromMultiContract(CliTest.java:89)


[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   CliTest.testGenerateCodeFromMultiContract:89
[ERROR]   CliTest.testGenerateServiceCombCodeFromSingleContract:36->lambda$testGenerateServiceCombCodeFromSingleContract$0:54
[INFO]
[ERROR] Tests run: 6, Failures: 2, Errors: 0, Skipped: 0
```)
              Summary: fix test error on windows  (was: In Windows, uses File.size to get the size of the directory always returns zero)

> fix test error on windows
> -------------------------
>
>                 Key: SCB-1657
>                 URL: https://issues.apache.org/jira/browse/SCB-1657
>             Project: Apache ServiceComb
>          Issue Type: Bug
>          Components: toolkit
>    Affects Versions: toolkit-0.2.0
>         Environment: windows
>            Reporter: kakulisen
>            Assignee: kakulisen
>            Priority: Major
>             Fix For: toolkit-0.2.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)