Skip to content

Commit 2562b6f

Browse files
amanchopra1905surishubham
authored andcommitted
Merge pull request #2146 from amanchopra1905/stage
[HYP-18237] syncstart yaml hyp
1 parent f329fc6 commit 2562b6f

File tree

2 files changed

+19
-22
lines changed

2 files changed

+19
-22
lines changed

docs/deep-dive-into-hyperexecute-yaml.md

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1725,25 +1725,21 @@ framework:
17251725
- "-Dplatname=win"
17261726
```
17271727

1728-
<!-- GENERAL ENDED-->
1729-
1730-
1731-
<nav aria-label="breadcrumbs">
1732-
<ul className="breadcrumbs">
1733-
<li className="breadcrumbs__item">
1734-
<a className="breadcrumbs__link" target="_self" href="https://www.lambdatest.com">
1735-
Home
1736-
</a>
1737-
</li>
1738-
<li className="breadcrumbs__item">
1739-
<a className="breadcrumbs__link" target="_self" href="https://www.lambdatest.com/support/docs/">
1740-
Support
1741-
</a>
1742-
</li>
1743-
<li className="breadcrumbs__item breadcrumbs__item--active">
1744-
<span className="breadcrumbs__link">
1745-
Deep Dive into HyperExecute YAML
1746-
</span>
1747-
</li>
1748-
</ul>
1749-
</nav>
1728+
### `syncStart`
1729+
By default, parallel tasks in autosplit or matrix mode begin execution as soon as the VM is allocated. However, in certain situations (e.g., benchmarking or comparative analysis), you may want all VMs to start tasks at the same time.
1730+
1731+
To support this, HyperExecute provides the `syncStart` directive in the job YAML.
1732+
1733+
```yaml
1734+
execution:
1735+
syncStart: true
1736+
```
1737+
1738+
- When `syncStart` is enabled, the job ensures that all VMs are allocated and ready before starting scenario execution i.e. tests.
1739+
- The system waits for up to 15 minutes for all required VMs to become available.
1740+
- If all VMs are allocated within this window → tasks start together.
1741+
- If some VMs are still pending after 15 minutes → the job proceeds with the allocated VMs.
1742+
1743+
> This feature is supported only in [`autosplit`](/support/docs/deep-dive-into-hyperexecute-yaml/#autosplit) and [`matrix`](/support/docs/deep-dive-into-hyperexecute-yaml/#matrix) mode and not in hybrid mode
1744+
1745+
<!-- GENERAL ENDED-->

docs/hyperexecute-yaml-parameters.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ The **HyperExecute YAML** file serves as the foundational component for test exe
165165
| [project](/support/docs/deep-dive-into-hyperexecute-yaml/#project) | String | Segregate data at a project/repo level |
166166
| [slackChannel](/support/docs/deep-dive-into-hyperexecute-yaml/#slackchannel) | String | Allows you to receive notifications of your Job updates directly in your preferred Slack channel. |
167167
| [afterEachScenario](/support/docs/deep-dive-into-hyperexecute-yaml/#aftereachscenario) | List of Strings | Allows you to trigger your define tasks after each test scenario. |
168+
| [syncStart](/support/docs/deep-dive-into-hyperexecute-yaml/#execution) | Map | Ensures all VMs are ready before starting parallel tasks. |
168169

169170
<nav aria-label="breadcrumbs">
170171
<ul className="breadcrumbs">

0 commit comments

Comments
 (0)