Ran
|
Jobs
1
|
Files
20
|
Run time
2s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/alvarolopez/caso/commit/<a class=hub.com/alvarolopez/caso/commit/<a class="double-link" href="https://git"><a class=hub.com/alvarolopez/caso/commit/<a class="double-link" href="https://git"><a class=hub.com/alvarolopez/caso/commit/<a class="double-link" href="https://git"><a class=hub.com/alvarolopez/caso/commit/2161a33b84a39afb4ebe28113f4f50e055dc92c0">2161a33b8<a href="https://github.com/alvarolopez/caso/commit/2161a33b84a39afb4ebe28113f4f50e055dc92c0">">&lt;a href=&quot;https://github.com/alvarolopez/caso/commit/</a><a class="double-link" href="https://github.com/alvarolopez/caso/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://git">&lt;a class=</a>hub.com/alvarolopez/caso/commit/2161a33b84a39afb4ebe28113f4f50e055dc92c0">2161a33b8</a><a href="https://github.com/alvarolopez/caso/commit/2161a33b84a39afb4ebe28113f4f50e055dc92c0">&lt;a href=&quot;https://github.com/alvarolopez/caso/commit/2161a33b84a39afb4ebe28113f4f50e055dc92c0&quot;&gt;&amp;quot;&amp;gt;Fix record extraction and do not request only deleted records Commit &amp;lt;/a&gt;&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/alvarolopez/caso/commit/</a><a class="double-link" href="https://github.com/alvarolopez/caso/commit/<a class="double-link" href="https://github.com/alvarolopez/caso/commit/0058b6cf239f29c8ae7f41212a66dcf9c14f7435">0058b6cf2</a>">0058b6cf2</a>">0058b6cf2</a><a href="https://github.com/alvarolopez/caso/commit/2161a33b84a39afb4ebe28113f4f50e055dc92c0"> introduced a bug in how we retrieve the records, since we introduced the &quot;deleted&quot; filter and this was filtering out all the instances that are not deleted. Moreover, the way we were retrieving the results was wrong as only servers with a changed status within the requested period were considered for the record building. We cannot use &#39;changes-since&#39; in the servers.list() API query, as it will only include changes that have chanted its status after that date. Also, we cannot just get all the usages and then query the servers.get() server by server, as deleted servers are not returned by ths servers.get() call. What we do now is the following. 1.- List all the deleted servers that changed after the start date 2.- Build the records for the period [start, end] 3.- Get all the usages 4.- Iter over the usage... (continued)
39 of 145 branches covered (26.9%)
295 of 575 relevant lines covered (51.3%)
0.51 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
4 | 130.4 (TOXENV=coveralls) | 20 |
51.3 |
Travis Job 130.4 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|