@@ -14,7 +14,7 @@ func TestAccPostgresqlScript_basic(t *testing.T) {
14
14
"SELECT 1;"
15
15
]
16
16
tries = 2
17
- timeout = 4
17
+ backoff_delay = 4
18
18
}
19
19
`
20
20
@@ -27,7 +27,7 @@ func TestAccPostgresqlScript_basic(t *testing.T) {
27
27
Check : resource .ComposeTestCheckFunc (
28
28
resource .TestCheckResourceAttr ("postgresql_script.test" , "commands.0" , "SELECT 1;" ),
29
29
resource .TestCheckResourceAttr ("postgresql_script.test" , "tries" , "2" ),
30
- resource .TestCheckResourceAttr ("postgresql_script.test" , "timeout " , "4" ),
30
+ resource .TestCheckResourceAttr ("postgresql_script.test" , "backoff_delay " , "4" ),
31
31
),
32
32
},
33
33
},
@@ -43,7 +43,7 @@ func TestAccPostgresqlScript_multiple(t *testing.T) {
43
43
"SELECT 3;"
44
44
]
45
45
tries = 2
46
- timeout = 4
46
+ backoff_delay = 4
47
47
}
48
48
`
49
49
@@ -58,7 +58,7 @@ func TestAccPostgresqlScript_multiple(t *testing.T) {
58
58
resource .TestCheckResourceAttr ("postgresql_script.test" , "commands.1" , "SELECT 2;" ),
59
59
resource .TestCheckResourceAttr ("postgresql_script.test" , "commands.2" , "SELECT 3;" ),
60
60
resource .TestCheckResourceAttr ("postgresql_script.test" , "tries" , "2" ),
61
- resource .TestCheckResourceAttr ("postgresql_script.test" , "timeout " , "4" ),
61
+ resource .TestCheckResourceAttr ("postgresql_script.test" , "backoff_delay " , "4" ),
62
62
),
63
63
},
64
64
},
@@ -83,7 +83,7 @@ func TestAccPostgresqlScript_default(t *testing.T) {
83
83
Check : resource .ComposeTestCheckFunc (
84
84
resource .TestCheckResourceAttr ("postgresql_script.test" , "commands.0" , "SELECT 1;" ),
85
85
resource .TestCheckResourceAttr ("postgresql_script.test" , "tries" , "1" ),
86
- resource .TestCheckResourceAttr ("postgresql_script.test" , "timeout " , "1" ),
86
+ resource .TestCheckResourceAttr ("postgresql_script.test" , "backoff_delay " , "1" ),
87
87
),
88
88
},
89
89
},
@@ -140,7 +140,7 @@ func TestAccPostgresqlScript_fail(t *testing.T) {
140
140
"SLC FROM nowhere;"
141
141
]
142
142
tries = 2
143
- timeout = 2
143
+ backoff_delay = 2
144
144
}
145
145
`
146
146
@@ -165,7 +165,7 @@ func TestAccPostgresqlScript_failMultiple(t *testing.T) {
165
165
"COMMIT"
166
166
]
167
167
tries = 2
168
- timeout = 2
168
+ backoff_delay = 2
169
169
}
170
170
`
171
171
0 commit comments