We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb9dbd0 commit 75a181aCopy full SHA for 75a181a
pulsaradmin/pkg/admin/namespace_test.go
@@ -18,6 +18,7 @@
18
package admin
19
20
import (
21
+ "os"
22
"testing"
23
"time"
24
@@ -791,7 +792,12 @@ func TestNamespaces_Retention(t *testing.T) {
791
792
}
793
794
func TestNamespaces_BookieAffinityGroup(t *testing.T) {
- config := &config.Config{}
795
+ readFile, err := os.ReadFile("../../../integration-tests/tokens/admin-token")
796
+ require.NoError(t, err)
797
+
798
+ config := &config.Config{
799
+ Token: string(readFile),
800
+ }
801
admin, err := New(config)
802
require.NoError(t, err)
803
require.NotNil(t, admin)
0 commit comments