Mark Karma tests as failed if they take longer than a second.
closes https://gitlab.com/gitlab-org/gitlab-ce/issues/44174