Skip to content

Commit

Permalink
Merge pull request wso2#136 from azinneera/master
Browse files Browse the repository at this point in the history
add sleep to pet-be inline test
  • Loading branch information
isurulucky authored Nov 15, 2019
2 parents a31d9ec + 76c2d0a commit 29fc6c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cells/pet-store/pet-be/tests/pet-be-test.bal
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import ballerina/io;
import ballerina/test;
import ballerina/http;
import celleryio/cellery;
//import ballerina/runtime;
import ballerina/runtime;

cellery:InstanceState[] instanceList = [];
string PET_BE_CONTROLLER_ENDPOINT = "";
Expand Down Expand Up @@ -53,6 +53,8 @@ function testDocker() {
# Tests inserting order from an external cell by calling the pet-be gateway
@test:Config {}
function testInsertOrder() {

runtime:sleep(10000);

// string PET_BE_CONTROLLER_ENDPOINT = "http://pet-be--gateway-service:80/controller/orders";
io:println(PET_BE_CONTROLLER_ENDPOINT);
Expand Down

0 comments on commit 29fc6c9

Please sign in to comment.