• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dgraph-io / dgraph / 5200942421
67%
main: 66%

Build:
Build:
LAST BUILD BRANCH: release/v23
DEFAULT BRANCH: main
Ran 07 Jun 2023 03:18PM UTC
Jobs 1
Files 250
Run time 12s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Jun 2023 03:18PM UTC coverage: 67.34% (+0.5%) from 66.868%
5200942421

push

web-flow
Update integration tests to run as upgrade tests for multitenancy (#8799) (#8854)

we now start using dgraphtest package instead of testutil package. This
PR also modifies the tests in systest/multi-tenancy package to run as
both integration as well as upgrade tests.

The below test functions in systest/multi-tenancy/basic_test.go file are
modified to run for 'upgrade' and 'integration' test using dgraphtest
framework. For 'integration', Upgrade() is a NOOP.

func (suite *MultitenancyTestSuite) TestAclBasic() { func (suite
*MultitenancyTestSuite) TestNameSpaceLimitFlag() { func (suite
*MultitenancyTestSuite) TestPersistentQuery() { func (suite
*MultitenancyTestSuite) TestTokenExpired() { func (suite
*MultitenancyTestSuite)
TestTwoPermissionSetsInNameSpacesWithAcl() {
func (suite *MultitenancyTestSuite) TestCreateNamespace() { func (suite
*MultitenancyTestSuite) TestResetPassword() { func (suite
*MultitenancyTestSuite) TestDeleteNamespace() {

systest/multi-tenancy/integration_test.go and
systest/multi-tenancy/upgrade_test.go contains the testify/suite
functions and datatypes to start the test.

integration_basic_helper_test.go contain test functions that are run for
integration test.

Co-authored-by: Jassi <jbhamra@dgraph.io>

58468 of 86825 relevant lines covered (67.34%)

2255076.89 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
68.45
0.0% dgraph/cmd/zero/zero.go
2
78.79
-0.15% worker/draft.go
2
85.49
-0.31% worker/mutation.go
2
82.26
-1.08% worker/proposal.go
3
82.36
0.16% worker/task.go
4
75.79
-2.11% dgraph/cmd/zero/tablet.go
5
88.31
-2.16% conn/pool.go
5
89.29
-2.38% worker/schema.go
11
84.38
-0.75% worker/groups.go
20
43.96
1.8% protos/pb/pb.pb.go
Jobs
ID Job ID Ran Files Coverage
1 5200942421.1 07 Jun 2023 03:18PM UTC 250
67.34
Source Files on build 5200942421
  • Tree
  • List 250
  • Changed 165
  • Source Changed 0
  • Coverage Changed 165
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 889cf0f7 on github
  • Prev Build on jassi/zero_health_issue_5517 (#5200484506)
  • Next Build on jassi/zero_health_issue_5517 (#5201670340)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc