Skip to content

Commit

Permalink
Wait for TPs to be loaded inside it test
Browse files Browse the repository at this point in the history
  • Loading branch information
ionutboangiu authored and danbogos committed Apr 15, 2024
1 parent 88b02a3 commit 6c0ed14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions general_tests/rpsubj_set_it_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ cgrates.org,data,RPF_DATA,2022-01-14T00:00:00Z,RP_DATA,`,
defer shutdown()

t.Run("CheckInitialBalance", func(t *testing.T) {
time.Sleep(10 * time.Millisecond) // wait for tps to be loaded
var acnt engine.Account
attrs := &utils.AttrGetAccount{Tenant: "cgrates.org", Account: "1001"}
if err := client.Call(context.Background(), utils.APIerSv2GetAccount, attrs, &acnt); err != nil {
Expand Down

0 comments on commit 6c0ed14

Please sign in to comment.