Skip to content

Commit

Permalink
Merge pull request #3 from qedsoftware/testing-workflows-adjustment
Browse files Browse the repository at this point in the history
Add sleep before check TestAccKeycloakDataSourceRealm_basic
  • Loading branch information
micorix authored Jan 10, 2024
2 parents 15d74ce + 957486e commit 73a85ed
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion provider/data_source_keycloak_realm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package provider

import (
"fmt"
"time"
"testing"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
Expand All @@ -16,7 +17,10 @@ func TestAccKeycloakDataSourceRealm_basic(t *testing.T) {

resource.Test(t, resource.TestCase{
ProviderFactories: testAccProviderFactories,
PreCheck: func() { testAccPreCheck(t) },
PreCheck: func() {
testAccPreCheck(t)
time.Sleep(10 * time.Second)
},
CheckDestroy: testAccCheckKeycloakRealmDestroy(),
Steps: []resource.TestStep{
{
Expand Down

0 comments on commit 73a85ed

Please sign in to comment.