Skip to content

Commit

Permalink
removal of timeout
Browse files Browse the repository at this point in the history
Signed-off-by: rabollin <[email protected]>
  • Loading branch information
rabollin committed Sep 22, 2023
1 parent a933e39 commit d11bd39
Show file tree
Hide file tree
Showing 16 changed files with 8 additions and 23 deletions.
2 changes: 0 additions & 2 deletions state_management/csharp/http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ expected_stdout_lines:
expected_stderr_lines:
output_match_mode: substring
background: true
sleep: 15
timeout_seconds: 60
-->

```bash
Expand Down
1 change: 0 additions & 1 deletion state_management/csharp/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ expected_stderr_lines:
output_match_mode: substring
background: true
sleep: 15
timeout_seconds: 60
-->

```bash
Expand Down
2 changes: 0 additions & 2 deletions state_management/go/http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ output_match_mode: substring
match_order: none
background: true
sleep: 15
timeout_seconds: 30
-->

```bash
Expand Down Expand Up @@ -58,7 +57,6 @@ output_match_mode: substring
match_order: none
background: true
sleep: 15
timeout_seconds: 30
-->

```bash
Expand Down
2 changes: 1 addition & 1 deletion state_management/go/http/order-processor/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func main() {
Timeout: 15 * time.Second,
}

for i := 1; i <= 100; i++ {
for i := 1; i <= 10; i++ {
orderId := i
order := `{"orderId":` + strconv.Itoa(orderId) + "}"
state, _ := json.Marshal([]map[string]string{
Expand Down
2 changes: 0 additions & 2 deletions state_management/go/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ output_match_mode: substring
match_order: none
background: true
sleep: 15
timeout_seconds: 30
-->

```bash
Expand Down Expand Up @@ -58,7 +57,6 @@ output_match_mode: substring
match_order: none
background: true
sleep: 15
timeout_seconds: 30
-->

```bash
Expand Down
2 changes: 1 addition & 1 deletion state_management/go/sdk/order-processor/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func main() {
log.Fatal(err)
}

for i := 1; i <= 100; i++ {
for i := 1; i <= 10; i++ {
orderId := i
order := `{"orderId":` + strconv.Itoa(orderId) + "}"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class OrderProcessingServiceApplication {
public static void main(String[] args) throws IOException, URISyntaxException, InterruptedException {
URI baseUrl = new URI(DAPR_HOST+":"+DAPR_HTTP_PORT);
URI stateStoreUrl = new URI(baseUrl + "/v1.0/state/"+DAPR_STATE_STORE);
for (int i = 1; i <= 100; i++) {
for (int i = 1; i <= 10; i++) {
int orderId = i;
Order order = new Order(orderId);
State state = new State(String.valueOf(orderId), order);
Expand Down
2 changes: 0 additions & 2 deletions state_management/java/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ output_match_mode: substring
match_order: non
background: true
sleep: 15
timeout_seconds: 30
-->

```bash
Expand Down Expand Up @@ -97,7 +96,6 @@ output_match_mode: substring
match_order: 30
background: true
sleep: 15
timeout_seconds: 30
-->

```bash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class OrderProcessingServiceApplication {

public static void main(String[] args) throws Exception {
try (DaprClient client = new DaprClientBuilder().build()) {
for (int i = 1; i <= 100; i++) {
for (int i = 1; i <= 10; i++) {
int orderId = i;
Order order = new Order();
order.setOrderId(orderId);
Expand Down
2 changes: 0 additions & 2 deletions state_management/javascript/http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ output_match_mode: substring
match_order: none
background: true
sleep: 15
timeout_seconds: 30
-->

```bash
Expand Down Expand Up @@ -85,7 +84,6 @@ output_match_mode: substring
match_order: none
background: true
sleep: 10
timeout_seconds: 5
-->

```bash
Expand Down
2 changes: 1 addition & 1 deletion state_management/javascript/http/order-processor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const stateStoreBaseUrl = `${protocol}://${DAPR_HOST}:${port}/v1.0/state/${DAPR_

async function main() {
// For each loop, Save order, Get order, and Delete order
for (let i = 1; i <= 100; i++) {
for (let i = 1; i <= 10; i++) {
const order = { orderId: i.toString() }
const state = [
{
Expand Down
2 changes: 0 additions & 2 deletions state_management/javascript/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ output_match_mode: substring
match_order: none
background: true
sleep: 15
timeout_seconds: 30
-->

```bash
Expand Down Expand Up @@ -85,7 +84,6 @@ output_match_mode: substring
match_order: none
background: true
sleep: 10
timeout_seconds: 5
-->

```bash
Expand Down
2 changes: 1 addition & 1 deletion state_management/javascript/sdk/order-processor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async function main() {
const client = new DaprClient({ daprHost, daprPort, communicationProtocol })

// For each loop, Save order, Get order, and Delete order
for (let i = 1; i <= 100; i++) {
for (let i = 1; i <= 10; i++) {
const order = { orderId: i.toString() }
const state = [
{
Expand Down
2 changes: 1 addition & 1 deletion state_management/python/http/order-processor/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
'DAPR_HTTP_PORT', '3500')
DAPR_STATE_STORE = 'statestore'

for i in range(1, 100):
for i in range(1, 10):
orderId = str(i)
order = {'orderId': orderId}
state = [{
Expand Down
2 changes: 0 additions & 2 deletions state_management/python/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ expected_stderr_lines:
output_match_mode: substring
background: true
sleep: 15
timeout_seconds: 60
-->

```bash
Expand Down Expand Up @@ -69,7 +68,6 @@ expected_stderr_lines:
output_match_mode: substring
background: true
sleep: 15
timeout_seconds: 60
-->

```bash
Expand Down
2 changes: 1 addition & 1 deletion state_management/python/sdk/order-processor/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

DAPR_STORE_NAME = "statestore"
with DaprClient() as client:
for i in range(1, 100):
for i in range(1, 10):
orderId = str(i)
order = {'orderId': orderId}

Expand Down

0 comments on commit d11bd39

Please sign in to comment.