[
https://issues.apache.org/jira/browse/ARTEMIS-4390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17755045#comment-17755045
]
ASF subversion and git services commented on ARTEMIS-4390:
----------------------------------------------------------
Commit 999789bdc5ab5e397077b4488f8fdbadbafb21d7 in activemq-artemis's branch
refs/heads/main from Šmucr Jan
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=999789bdc5 ]
ARTEMIS-4390 Fix the upgrade-linux smoke test on Windows
The test cannot work on Windows unless I can make the `upgrade` CLI command
respect my choice to upgrade a Linux distribution. This commit therefore adds
a new `--linux` option for the `upgrade` command, and leverages it in the
`upgrade-linux` smoke test.
* The `--cygwin` option has been preserved for backwards compatibility.
* The `IS_CYGWIN` attribute has been renamed to `IS_NIX` to reflect the change.
* The OS "recognition" method (in `InstallAbstract::run`) has been updated to
reflect the need for enforcing *nix behavior, which is now the default if all
other methods fail.
> Windows build fails smoke tests on upgrade-linux
> ------------------------------------------------
>
> Key: ARTEMIS-4390
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4390
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Tests
> Environment: Windows 10 Enterprise b19045
> Java 11 (Temurin-11.0.15+10)
> Reporter: Jan Šmucr
> Priority: Major
> Fix For: 2.31.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> The {{upgrade-linux}} test doesn't pass on Windows, as it wrongly assumes
> Linux-like environment, and therefore it cannot find the {{artemis.cmd}}
> script to fiddle with.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)