[
https://issues.apache.org/jira/browse/HDDS-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prashant Pogde updated HDDS-1563:
---------------------------------
Target Version/s: 1.2.0 (was: 1.1.0)
> Freon error when running blockade test in maven
> -----------------------------------------------
>
> Key: HDDS-1563
> URL: https://issues.apache.org/jira/browse/HDDS-1563
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Eric Yang
> Assignee: Nilotpal Nandi
> Priority: Major
>
> When using python -m pytest -s blockade/ in a terminal, there is a terminal
> connected to stdin of the testing program. When running the python test in
> maven, there is no stdin forwarded to python or down stream code logic. Some
> blockade tests fails using mvn clean verify -Pit command.
> {code}
> > assert exit_code == 0, "freon run failed with output=[%s]" % output
> E AssertionError: freon run failed with output=[the input device is not
> a TTY]
> E assert 1 == 0
> {code}
> The required change is in freon for popen, also setup a [pseudo
> terminal|https://stackoverflow.com/questions/41542960/run-interactive-bash-with-popen-and-a-dedicated-tty-python]
> to ensure that stdin is handled correctly for docker-compose and downstream
> processes.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]