product-microgateway icon indicating copy to clipboard operation
product-microgateway copied to clipboard

Cannot run tests in Windows

Open VirajSalaka opened this issue 5 years ago • 4 comments

Description:

Tests cannot be run in Windows platform as the existing CLI Commands to generate the microgateway project only suits for macOS and Linux Platform.

Steps to reproduce:

Execute "mvn clean install" inside the product-microgateway directory.

Affected Product Version:

3.0.1

OS, DB, other environment details and versions:

  • OS: Windows 10

Optional Fields

Suggested Labels:

task

VirajSalaka avatar Jun 25 '19 06:06 VirajSalaka

This is due to the fact that I forgot to install ballerina to the host machine.

VirajSalaka avatar Jun 25 '19 06:06 VirajSalaka

Why do you need to install ballerina?

praminda avatar Jun 25 '19 07:06 praminda

Issue still exists. The reason is due to https://github.com/wso2/product-microgateway/blob/78a9fc36328f3c1d8a3b5ade2c2741cd19a00e69/tests/src/test/java/org/wso2/micro/gateway/tests/common/CLIExecutor.java#L72.

VirajSalaka avatar Jun 25 '19 07:06 VirajSalaka

@VirajSalaka Did we fixed this at any point or is this issue still exists on windows?

praminda avatar Sep 05 '19 06:09 praminda