mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Klues (JIRA)" <>
Subject [jira] [Commented] (MESOS-9343) Add test(s) for `mesos task attach` on task launched with a TTY
Date Fri, 02 Nov 2018 23:43:00 GMT


Kevin Klues commented on MESOS-9343:

commit 9441e48338a8c58adc1e88c9fc1804d10f201262
Author: Armand Grillet <>
Date:   Fri Nov 2 19:39:06 2018 -0400

    Simplified newline handling in 'test_exec()' test for new CLI.
    The test was previously using '.strip()' to compare the command stdout
    and the result we expect. This check was incorrect because it could
    happen that the output ended in a bunch of extra whitespace that we
    would then strip off unknowningly. By replacing the task command to use
    'printf' instead of 'echo' (which artifically inserts an extra newline
    in the output), we are able to simplify this assertion and make sure the
    output is exactly the same as what we expect.

> Add test(s) for `mesos task attach` on task launched with a TTY 
> ----------------------------------------------------------------
>                 Key: MESOS-9343
>                 URL:
>             Project: Mesos
>          Issue Type: Task
>          Components: cli
>            Reporter: Armand Grillet
>            Assignee: Armand Grillet
>            Priority: Major
> As a source, we could use the tests in

This message was sent by Atlassian JIRA

View raw message