Mohammed Naser | c6e431b | 2024-03-15 01:21:44 -0400 | [diff] [blame] | 1 | package testutils |
2 | |||||
3 | import ( | ||||
4 | "testing" | ||||
5 | |||||
6 | "github.com/stretchr/testify/assert" | ||||
7 | |||||
8 | "github.com/vexxhost/atmosphere/internal/openstack_helm" | ||||
9 | ) | ||||
10 | |||||
11 | func 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 | } |