diff options
author | Phil Hughes <me@iamphill.com> | 2018-02-07 12:49:27 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-02-07 16:03:53 +0000 |
commit | 239d613839eecb68414631e9de4f9a5ac7d18f66 (patch) | |
tree | cfa27ce9a7f7e94c321b542e94020557101e1e12 /app/assets/javascripts/job.js | |
parent | a55cfc1e6316232e25a46416b0a60be7c1282da7 (diff) | |
download | gitlab-ce-239d613839eecb68414631e9de4f9a5ac7d18f66.tar.gz |
Clear the timeout in Jobs class after each test
Diffstat (limited to 'app/assets/javascripts/job.js')
-rw-r--r-- | app/assets/javascripts/job.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/job.js b/app/assets/javascripts/job.js index d0b7ea75082..f39ae764d3c 100644 --- a/app/assets/javascripts/job.js +++ b/app/assets/javascripts/job.js @@ -217,7 +217,7 @@ export default class Job { } this.isLogComplete = log.complete; - if (!log.complete) { + if (log.complete === false) { this.timeout = setTimeout(() => { this.getBuildTrace(); }, 4000); |