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

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

Build:
Build:
LAST BUILD BRANCH: release/v23
DEFAULT BRANCH: main
Ran 06 Jun 2023 05:57PM UTC
Jobs 1
Files 250
Run time 5s
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

06 Jun 2023 05:57PM UTC coverage: 67.309% (+0.05%) from 67.255%
5191169691

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>

58441 of 86825 relevant lines covered (67.31%)

2247683.19 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
85.49
0.0% conn/raft_server.go
2
83.92
-1.01% dgraph/cmd/zero/assign.go
2
84.91
0.0% worker/groups.go
3
84.44
-0.56% conn/node.go
3
85.03
-0.46% worker/mutation.go
6
68.3
-0.89% dgraph/cmd/zero/zero.go
7
82.26
-3.76% worker/proposal.go
8
71.52
-1.0% dgraph/cmd/zero/raft.go
8
78.79
-0.58% worker/draft.go
15
83.98
-4.33% conn/pool.go
31
43.82
0.28% protos/pb/pb.pb.go
Jobs
ID Job ID Ran Files Coverage
1 5191169691.1 06 Jun 2023 05:57PM UTC 250
67.31
Source Files on build 5191169691
  • Tree
  • List 250
  • Changed 162
  • Source Changed 0
  • Coverage Changed 162
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 889cf0f7 on github
  • Prev Build on aman/multitenancy-upgrade (#5190868704)
  • Next Build on aman/multitenancy-upgrade (#5191835960)
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