blob: 7d9feae21b89c1b01f011ab5fe860bc0049a7e49 [file] [log] [blame]
Mohammed Naserc6e431b2024-03-15 01:21:44 -04001package testutils
2
3import (
4 "testing"
5
6 "github.com/stretchr/testify/assert"
7
8 "github.com/vexxhost/atmosphere/internal/openstack_helm"
9)
10
11func TestDatabaseConf(t *testing.T, config *openstack_helm.DatabaseConf) {
12 assert.Equal(t, 10, config.ConnectionRecycleTime)
13 assert.Equal(t, 1, config.MaxPoolSize)
14 assert.Equal(t, -1, config.MaxRetries)
15}