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

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

Build:
Build:
LAST BUILD BRANCH: release/v23
DEFAULT BRANCH: main
Ran 06 Jun 2023 07:25PM UTC
Jobs 1
Files 250
Run time 8s
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 07:25PM UTC coverage: 67.182% (-0.1%) from 67.309%
5191835960

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>

58331 of 86825 relevant lines covered (67.18%)

2244426.35 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
84.81
0.37% conn/node.go
1
86.7
-0.09% posting/list.go
1
88.69
-0.6% worker/schema.go
2
88.83
-1.12% graphql/subscription/poller.go
3
83.94
-1.55% conn/raft_server.go
4
68.15
-0.15% dgraph/cmd/zero/zero.go
4
83.01
-0.3% edgraph/server.go
5
81.82
-2.16% conn/pool.go
11
82.25
-0.59% worker/task.go
93
43.39
-0.42% protos/pb/pb.pb.go
Jobs
ID Job ID Ran Files Coverage
1 5191835960.1 06 Jun 2023 07:25PM UTC 250
67.18
Source Files on build 5191835960
  • Tree
  • List 250
  • Changed 163
  • Source Changed 0
  • Coverage Changed 163
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 889cf0f7 on github
  • Prev Build on aman/multitenancy-upgrade (#5191169691)
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