File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ func TestAccDifferentHosts(t *testing.T) {
165165 })
166166}
167167
168- func TestRoleGrantsOnColumns (t * testing.T ) {
168+ func TestGrantsOnColumnsWithUserDefaultRole (t * testing.T ) {
169169 dbName := fmt .Sprintf ("tf-test-%d" , rand .Intn (100 ))
170170 userNameA := "jda"
171171 userNameB := "jdb"
@@ -177,7 +177,9 @@ func TestRoleGrantsOnColumns(t *testing.T) {
177177 resource .Test (t , resource.TestCase {
178178 PreCheck : func () {
179179 testAccPreCheckSkipRds (t )
180- testAccPreCheckSkipTiDB (t ) // role grants are not supported by this version of MySQL
180+ testAccPreCheckSkipMariaDB (t ) // user-default roles are not supported on MariaDB when using the provider
181+ testAccPreCheckSkipNotMySQLVersionMin (t , "8.0.0" ) // user-default roles are not supported on MariaDB when using the provider
182+ testAccPreCheckSkipTiDB (t ) // role grants are not supported by this version of MySQL
181183 },
182184 ProviderFactories : testAccProviderFactories ,
183185 CheckDestroy : testAccGrantCheckDestroy ,
You can’t perform that action at this time.
0 commit comments