Skip to content

Commit

Permalink
fix config test
Browse files Browse the repository at this point in the history
  • Loading branch information
aalexand committed Aug 1, 2024
1 parent 5bdb686 commit 2d0cd01
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import (
"fmt"
"os"
"testing"
"time"

"github.com/labstack/gommon/log"
"github.com/stretchr/testify/assert"
Expand Down Expand Up @@ -104,11 +105,16 @@ func TestLoadApiConfig(t *testing.T) {
SqsEndpoint: "http://localhost:9324",
SqsAwsRegion: "sqs-aws-region",
SqsQueueName: "cluster-registry-local",
SqsBatchSize: 10,
SqsWaitSeconds: 5,
SqsRunInterval: 30,
K8sResourceId: "k8s-resource-id",
ApiTenantId: "api-tenant-id",
ApiClientId: "api-client-id",
ApiClientSecret: "api-client-secret",
ApiAuthorizedGroupId: "api-authorized-group-id",
ApiCacheTTL: time.Hour,
ApiCacheRedisHost: "localhost:6379",
},
expectedError: nil,
},
Expand Down

0 comments on commit 2d0cd01

Please sign in to comment.