diff --git a/execution/specExecutor.go b/execution/specExecutor.go index 2f27be6d3..0f878b099 100644 --- a/execution/specExecutor.go +++ b/execution/specExecutor.go @@ -299,6 +299,10 @@ func (e *specExecutor) executeScenario(scenario *gauge.Scenario) (*result.Scenar Name: scenario.Heading.Value, Tags: getTagValue(scenario.Tags), IsFailed: false, + Retries: &gauge_messages.ScenarioRetriesInfo{ + MaxRetries: int32(MaxRetriesCount)-1, + CurrentRetry: int32(retriesCount), + }, } scenarioResult = &result.ScenarioResult{ diff --git a/go.mod b/go.mod index a4f733c62..ee6414ed5 100644 --- a/go.mod +++ b/go.mod @@ -40,3 +40,5 @@ require ( gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) + +replace github.com/getgauge/gauge-proto/go/gauge_messages => ../gauge-proto/go/gauge_messages diff --git a/go.sum b/go.sum index 98bd2e0f1..df9b9ab5a 100644 --- a/go.sum +++ b/go.sum @@ -13,8 +13,6 @@ github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nos github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= github.com/getgauge/common v0.0.0-20231211152919-94c93e29f0b9 h1:OwggKdL8AeteB2y0xJzloieq9CMhYG7YmKKMh6D8FLs= github.com/getgauge/common v0.0.0-20231211152919-94c93e29f0b9/go.mod h1:p/Q0+qO2bLq08PuxaHrxIgkvKlGGYHyXad33+zKIiXU= -github.com/getgauge/gauge-proto/go/gauge_messages v0.0.0-20240224015747-16d1a26a9fea h1:l2xnnhqp0wlvCwOQn+TGk3yBfqOdUw2hYRf5UwAl1C4= -github.com/getgauge/gauge-proto/go/gauge_messages v0.0.0-20240224015747-16d1a26a9fea/go.mod h1:qf8Dv2iFBwlgpBZBOKjW9JDaYi5lHqXNYXEHTXd62Uw= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= diff --git a/version/version.go b/version/version.go index 3f00343d8..87e212ccf 100644 --- a/version/version.go +++ b/version/version.go @@ -14,7 +14,7 @@ import ( ) // CurrentGaugeVersion represents the current version of Gauge -var CurrentGaugeVersion = &Version{1, 6, 3} +var CurrentGaugeVersion = &Version{1, 6, 4} // BuildMetadata represents build information of current release (e.g, nightly build information) var BuildMetadata = ""