diff --git a/.github/workflows/ci-dgraph-tests.yml b/.github/workflows/ci-dgraph-tests.yml index faca6ba01de..bd67bce77d4 100644 --- a/.github/workflows/ci-dgraph-tests.yml +++ b/.github/workflows/ci-dgraph-tests.yml @@ -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 - \ No newline at end of file diff --git a/ee/acl/run.go b/ee/acl/run.go index 617a3b30029..19109ee866d 100644 --- a/ee/acl/run.go +++ b/ee/acl/run.go @@ -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" ) @@ -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 +} diff --git a/ee/audit/run_ee_test.go b/ee/audit/run_ee_test.go index ff993606075..723cdf1c260 100644 --- a/ee/audit/run_ee_test.go +++ b/ee/audit/run_ee_test.go @@ -1,3 +1,6 @@ +//go:build !oss +// +build !oss + /* * Copyright 2023 Dgraph Labs, Inc. and Contributors * diff --git a/systest/backup/common/utils.go b/systest/backup/common/utils.go index 205660e041b..cab1b54004c 100644 --- a/systest/backup/common/utils.go +++ b/systest/backup/common/utils.go @@ -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"); @@ -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 {