Skip to content

Commit

Permalink
final test expectation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RaynorChavez committed Mar 3, 2025
1 parent a5be7dd commit e4d8585
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions internal/provider/indices_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,9 @@ func TestAccResourceMinimalIndex(t *testing.T) {
resource.TestCheckResourceAttr("marqo_index.test", "settings.number_of_replicas", "0"),
resource.TestCheckResourceAttr("marqo_index.test", "settings.number_of_shards", "1"),
resource.TestCheckResourceAttr("marqo_index.test", "settings.storage_class", "marqo.basic"),
resource.TestCheckResourceAttr("marqo_index.test", "timeouts.create", "45m"),
resource.TestCheckResourceAttr("marqo_index.test", "timeouts.update", "45m"),
resource.TestCheckResourceAttr("marqo_index.test", "timeouts.delete", "20m"),
resource.TestCheckResourceAttr("marqo_index.test", "timeouts.create", "60m"),
resource.TestCheckResourceAttr("marqo_index.test", "timeouts.update", "60m"),
resource.TestCheckResourceAttr("marqo_index.test", "timeouts.delete", "45m"),
func(s *terraform.State) error {
fmt.Println("Minimal Index testing completed")
return nil
Expand Down Expand Up @@ -264,9 +264,9 @@ func TestAccResourceMinimalIndex(t *testing.T) {
return nil
},
resource.TestCheckResourceAttr("marqo_index.test", "settings.number_of_inferences", "2"),
resource.TestCheckResourceAttr("marqo_index.test", "timeouts.create", "45m"),
resource.TestCheckResourceAttr("marqo_index.test", "timeouts.update", "45m"),
resource.TestCheckResourceAttr("marqo_index.test", "timeouts.delete", "20m"),
resource.TestCheckResourceAttr("marqo_index.test", "timeouts.create", "60m"),
resource.TestCheckResourceAttr("marqo_index.test", "timeouts.update", "60m"),
resource.TestCheckResourceAttr("marqo_index.test", "timeouts.delete", "45m"),
func(s *terraform.State) error {
fmt.Println("Minimal Index update testing completed")
return nil
Expand All @@ -292,9 +292,9 @@ func TestAccResourceMinimalIndex(t *testing.T) {
return nil
},
resource.TestCheckResourceAttr("marqo_index.test", "index_name", minimal_index_name),
resource.TestCheckResourceAttr("marqo_index.test", "timeouts.create", "45m"),
resource.TestCheckResourceAttr("marqo_index.test", "timeouts.update", "45m"),
resource.TestCheckResourceAttr("marqo_index.test", "timeouts.delete", "20m"),
resource.TestCheckResourceAttr("marqo_index.test", "timeouts.create", "60m"),
resource.TestCheckResourceAttr("marqo_index.test", "timeouts.update", "60m"),
resource.TestCheckResourceAttr("marqo_index.test", "timeouts.delete", "45m"),
func(s *terraform.State) error {
fmt.Println("Minimal Index recreation testing completed")
return nil
Expand Down Expand Up @@ -794,7 +794,7 @@ func testAccResourceMinimalIndexConfig(name string) string {
resource "marqo_index" "test" {
index_name = "%s"
timeouts = {
create = "45m"
create = "60m"
update = "60m"
delete = "45m"
}
Expand All @@ -816,7 +816,7 @@ func testAccResourceMinimalIndexConfigUpdated(name string) string {
resource "marqo_index" "test" {
index_name = "%s"
timeouts = {
create = "45m"
create = "60m"
update = "60m"
delete = "45m"
}
Expand Down

0 comments on commit e4d8585

Please sign in to comment.