Closed jiaxuyang closed 3 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 70.97%. Comparing base (
e03809a
) to head (b6053de
). Report is 47 commits behind head on master.
missing a make fmt
apparently:
--- a/service/frontend/wrappers/accesscontrolled/access_controlled_test.go
+++ b/service/frontend/wrappers/accesscontrolled/access_controlled_test.go
@@ -25,8 +25,6 @@ package accesscontrolled
import (
"context"
"errors"
- "github.com/uber/cadence/common/types"
- "github.com/uber/cadence/service/frontend/admin"
"testing"
"github.com/golang/mock/gomock"
@@ -35,6 +33,8 @@ import (
"github.com/uber/cadence/common/authorization"
"github.com/uber/cadence/common/metrics"
"github.com/uber/cadence/common/metrics/mocks"
+ "github.com/uber/cadence/common/types"
+ "github.com/uber/cadence/service/frontend/admin"
)
func TestIsAuthorized(t *testing.T) {
or for a (much slower) more complete process, try make pr
. that should definitely match what CI produces.
@Groxx @taylanisikdemir Modifications have been committed, please review it again. Thanks. Changes:
make pr
to format access_controlled_test.goFiles with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
common/task/weighted_round_robin_task_scheduler.go | 2 | 89.05% | ||
common/task/fifo_task_scheduler.go | 2 | 85.57% | ||
service/history/execution/mutable_state_util.go | 2 | 78.52% | ||
service/matching/tasklist/matcher.go | 2 | 88.66% | ||
service/history/task/transfer_standby_task_executor.go | 3 | 87.14% | ||
service/history/task/task.go | 3 | 84.81% | ||
service/history/queue/timer_queue_processor_base.go | 3 | 77.87% | ||
common/types/history.go | 4 | 45.35% | ||
service/history/engine/engineimpl/record_activity_task_started.go | 5 | 68.87% | ||
service/history/execution/cache.go | 6 | 74.61% | ||
<!-- | Total: | 32 | --> |
Totals | |
---|---|
Change from base Build 018fdb42-97b4-456b-8043-44705c1f0950: | 0.02% |
Covered Lines: | 103078 |
Relevant Lines: | 147930 |
What changed?
make go-generate
to modify admin_generated.goWhy?
How did you test it? Add unit test.
Potential risks
Release notes
Documentation Changes