Transient failure for AnalyticsBuildEntity
As seen in https://gitlab.com/gitlab-org/gitlab-ce/builds/7224986:
1) AnalyticsBuildEntity build with an author no finished at date shows the right total time
Failure/Error: expect(subject[:total_time]).to eq({ hours: 2 })
expected: {:hours=>2}
got: {:hours=>2, :seconds=>1}
(compared using ==)
Diff:
@@ -1,2 +1,3 @@
:hours => 2,
+:seconds => 1,
# ./spec/serializers/analytics_build_entity_spec.rb:82:in `block (4 levels) in <top (required)>'
/cc @jameslopez