mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-02 12:51:48 -05:00
Make sure stdout always lines up with what is expected out ansible
Also, strip superflous extra newlines at the end of job events, this helps downloaded stdout line up.
This commit is contained in:
@@ -129,7 +129,7 @@ describe('parseStdoutService', () => {
|
||||
end_line: 11,
|
||||
stdout: "a\r\nb\r\nc..."
|
||||
};
|
||||
let expectedReturn = [[8, "a"],[9, "b"], [10,"c..."], [11, "[1;imLine capped.[0m"]];
|
||||
let expectedReturn = [[8, "a"],[9, "b"], [10,"c..."], [11, ""]];
|
||||
|
||||
let returnedEvent = parseStdoutService.getLineArr(mockEvent);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user