-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move enterprise test cases out of open source (#16985)
- Loading branch information
1 parent
75bda84
commit 44b3924
Showing
2 changed files
with
31 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Copyright (c) HashiCorp, Inc. | ||
// SPDX-License-Identifier: MPL-2.0 | ||
|
||
//go:build !consulent | ||
// +build !consulent | ||
|
||
package proxycfg | ||
|
||
import ( | ||
"github.com/mitchellh/go-testing-interface" | ||
|
||
"github.com/hashicorp/consul/acl" | ||
"github.com/hashicorp/consul/agent/structs" | ||
"github.com/hashicorp/consul/proto/private/pbpeering" | ||
) | ||
|
||
func extraDiscoChainConfig(t testing.T, variation string, entMeta acl.EnterpriseMeta) ([]structs.ConfigEntry, []*pbpeering.Peering) { | ||
t.Fatalf("unexpected variation: %q", variation) | ||
return nil, nil | ||
} | ||
|
||
func extraUpdateEvents(t testing.T, variation string, dbUID UpstreamID) []UpdateEvent { | ||
t.Fatalf("unexpected variation: %q", variation) | ||
return nil | ||
} |