Skip to content

Fix shards calculation when there are ignored tests and shardTime is -1#704

Merged
jan-goral merged 2 commits into
masterfrom
703-fix-empty-test-targets
Apr 8, 2020
Merged

Fix shards calculation when there are ignored tests and shardTime is -1#704
jan-goral merged 2 commits into
masterfrom
703-fix-empty-test-targets

Conversation

@jan-goral
Copy link
Copy Markdown
Contributor

@jan-goral jan-goral commented Apr 7, 2020

Fixes #703

Checklist

  • Documented
  • Unit tested
  • release_notes.md updated

@jan-goral jan-goral self-assigned this Apr 7, 2020
@jan-goral jan-goral added this to the May 2020 milestone Apr 7, 2020
@jan-goral jan-goral added the Bug label Apr 7, 2020
@jan-goral jan-goral marked this pull request as ready for review April 7, 2020 12:29
@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #704 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #704      +/-   ##
============================================
+ Coverage     77.56%   77.58%   +0.01%     
- Complexity      647      653       +6     
============================================
  Files           112      112              
  Lines          2661     2663       +2     
  Branches        370      372       +2     
============================================
+ Hits           2064     2066       +2     
  Misses          357      357              
  Partials        240      240              

@pawelpasterz
Copy link
Copy Markdown
Contributor

@bootstraponline I've tested this solution with wide variety of apk combinations. I did not encounter this error. Let us know what do you think.

@bootstraponline
Copy link
Copy Markdown
Contributor

This looks great! Thanks for adding a test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The repeated field 'google.devtools.testing.v1.TestTargetsForShard.test_targets' should have at least 1 values (found 0)

4 participants