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

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

Build:
Build:
LAST BUILD BRANCH: release/v23
DEFAULT BRANCH: main
Ran 06 Jun 2023 05:13PM 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

06 Jun 2023 05:13PM UTC coverage: 67.255% (+0.4%) from 66.818%
5190868704

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>

58394 of 86825 relevant lines covered (67.25%)

2242799.84 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
86.7
-0.09% posting/list.go
1
89.41
-0.59% posting/oracle.go
2
85.49
0.52% conn/raft_server.go
2
86.11
-0.2% edgraph/access_ee.go
2
55.56
-0.48% worker/online_restore.go
4
83.01
-0.3% edgraph/server.go
6
84.91
-0.11% worker/groups.go
7
88.31
3.46% conn/pool.go
8
79.37
0.0% worker/draft.go
15
81.82
-0.69% worker/task.go
20
43.53
1.52% protos/pb/pb.pb.go
Jobs
ID Job ID Ran Files Coverage
1 5190868704.1 06 Jun 2023 05:13PM UTC 250
67.25
Source Files on build 5190868704
  • Tree
  • List 250
  • Changed 167
  • Source Changed 0
  • Coverage Changed 167
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 889cf0f7 on github
  • Prev Build on aman/multitenancy-upgrade (#5189183965)
  • Next 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