fixes #7592 - adding typed to mockgen#7647
Conversation
Signed-off-by: Nick Beenham <1985327+superbeeny@users.noreply.github.com>
…n dequeue test Signed-off-by: Nick Beenham <1985327+superbeeny@users.noreply.github.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7647 +/- ##
==========================================
- Coverage 61.02% 61.00% -0.02%
==========================================
Files 518 518
Lines 26557 26627 +70
==========================================
+ Hits 16207 16245 +38
- Misses 8918 8955 +37
+ Partials 1432 1427 -5 ☔ View full report in Codecov by Sentry. |
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
kachawla
left a comment
There was a problem hiding this comment.
Thanks for doing this @superbeeny!
Co-authored-by: Karishma Chawla <kachawla@microsoft.com> Signed-off-by: Nick Beenham <1985327+superbeeny@users.noreply.github.com>
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
|
Thanks for your contribution @superbeeny! You should run |
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
|
One last thing :) DCO is failing: https://github.com/radius-project/radius/pull/7647/checks?check_run_id=25736485013. You should sign your commit. I guess, if you do |
It's the tracking branch merge that I'm guessing is causing the issue the commit before it is signed :( |
|
There are days I really hate git 👎 |
Signed-off-by: Nick Beenham <1985327+superbeeny@users.noreply.github.com>
e7ff963 to
0b7bc41
Compare
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
ytimocin
left a comment
There was a problem hiding this comment.
Thanks for this change @superbeeny! 🚀
| }, nil) | ||
|
|
||
| secondCall := mockCli.EXPECT().Dequeue(gomock.Any(), gomock.Any()).Return(nil, ErrInvalidMessage).After(firstCall) | ||
| secondCall := mockCli.EXPECT().Dequeue(gomock.Any(), gomock.Any()).Return(nil, ErrInvalidMessage).After(firstCall.Call) |
There was a problem hiding this comment.
This is one of the changes that come with the mock updates, I guess.
There was a problem hiding this comment.
I think we are using this (second call should be after the first call test) only in this test.
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
|
Thanks @superbeeny. I'm merging this in. |
# Description Fixes issue #7592 - adding types to generated mocks ## Type of change - This pull request fixes a bug in Radius and has an approved issue #7592 . Fixes: #7592 --------- Signed-off-by: Nick Beenham <1985327+superbeeny@users.noreply.github.com> Co-authored-by: Karishma Chawla <kachawla@microsoft.com>
# Description Fixes issue #7592 - adding types to generated mocks ## Type of change - This pull request fixes a bug in Radius and has an approved issue #7592 . Fixes: #7592 --------- Signed-off-by: Nick Beenham <1985327+superbeeny@users.noreply.github.com> Co-authored-by: Karishma Chawla <kachawla@microsoft.com>
# Description Fixes issue #7592 - adding types to generated mocks ## Type of change - This pull request fixes a bug in Radius and has an approved issue #7592 . Fixes: #7592 --------- Signed-off-by: Nick Beenham <1985327+superbeeny@users.noreply.github.com> Co-authored-by: Karishma Chawla <kachawla@microsoft.com>
) # Description Fixes issue radius-project#7592 - adding types to generated mocks ## Type of change - This pull request fixes a bug in Radius and has an approved issue radius-project#7592 . Fixes: radius-project#7592 --------- Signed-off-by: Nick Beenham <1985327+superbeeny@users.noreply.github.com> Co-authored-by: Karishma Chawla <kachawla@microsoft.com>
Description
Fixes issue #7592 - adding types to generated mocks
Type of change
Fixes: #7592