Skip to content

fix failing oss build #8832

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/ci-dgraph-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,9 @@ jobs:
export GOPATH=~/go
# move the binary
cp dgraph/dgraph ~/go/bin/dgraph
# run the tests
# run the unit and integration tests
cd t; ./t
# clean up docker containers after test execution
./t -r
# sleep
sleep 5

12 changes: 12 additions & 0 deletions ee/acl/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ package acl
import (
"github.com/spf13/cobra"

"github.com/dgraph-io/dgo/v230/protos/api"
"github.com/dgraph-io/dgraph/x"
)

Expand All @@ -35,3 +36,14 @@ func init() {
}
CmdAcl.Cmd.SetHelpTemplate(x.NonRootTemplate)
}

// CreateGroupNQuads cretes NQuads needed to store a group with the give ID.
func CreateGroupNQuads(groupId string) []*api.NQuad {
return nil
}

// CreateUserNQuads creates the NQuads needed to store a user with the given ID and
// password in the ACL system.
func CreateUserNQuads(userId, password string) []*api.NQuad {
return nil
}
3 changes: 3 additions & 0 deletions ee/audit/run_ee_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build !oss
// +build !oss

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
4 changes: 3 additions & 1 deletion systest/backup/common/utils.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build !oss
// +build !oss

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors *
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -124,7 +127,6 @@ func AddItemSchema(t *testing.T, header http.Header, whichAlpha string) {
}

func AddItem(t *testing.T, minSuffixVal int, maxSuffixVal int, jwtToken string, whichAlpha string) {

query := `mutation addItem($name: String!, $price: String!){
addItem(input: [{ name: $name, price: $price}]) {
item {
Expand Down