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

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

Build:
Build:
LAST BUILD BRANCH: release/v23
DEFAULT BRANCH: main
Ran 07 Jun 2023 02:00PM UTC
Jobs 1
Files 250
Run time 1min
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 02:00PM UTC coverage: 67.174% (-0.2%) from 67.345%
5200466775

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>

58324 of 86825 relevant lines covered (67.17%)

2255707.2 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
86.61
-0.09% posting/list.go
2
84.63
-0.19% conn/node.go
2
84.91
-1.89% edgraph/graphql.go
2
88.83
-1.12% graphql/subscription/poller.go
3
75.79
-1.58% dgraph/cmd/zero/tablet.go
3
68.3
-0.15% dgraph/cmd/zero/zero.go
3
82.36
0.64% worker/task.go
7
82.26
-3.76% worker/proposal.go
8
78.79
-0.58% worker/draft.go
11
83.94
-0.97% worker/groups.go
20
81.82
-8.66% conn/pool.go
122
43.4
-0.55% protos/pb/pb.pb.go
Jobs
ID Job ID Ran Files Coverage
1 5200466775.1 07 Jun 2023 02:00PM UTC 250
67.17
Source Files on build 5200466775
  • Tree
  • List 250
  • Changed 250
  • Source Changed 250
  • Coverage Changed 146
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 889cf0f7 on github
  • Prev Build on shiva/upgrade2 (#5054409613)
  • Next Build on shiva/upgrade2 (#5201287002)
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