You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by va...@apache.org on 2023/05/19 18:10:22 UTC

[tinkerpop] branch 3.5-dev updated: Disable зarallelization for Gherkin tests (#2052)

This is an automated email from the ASF dual-hosted git repository.

valentyn pushed a commit to branch 3.5-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/3.5-dev by this push:
     new 209c577341 Disable зarallelization for Gherkin tests (#2052)
209c577341 is described below

commit 209c577341ccac2c51f4c9d7b869439075d8ce7d
Author: Valentyn Kahamlyk <vk...@users.noreply.github.com>
AuthorDate: Fri May 19 11:10:14 2023 -0700

    Disable зarallelization for Gherkin tests (#2052)
    
    Integration and Gherkin tests for .net executed in parallel, therefore random failures are possible when Gherkin test modify graph, for example pageRank: https://github.com/apache/tinkerpop/actions/runs/4833390970/jobs/8613413406
---
 .../test/Gremlin.Net.IntegrationTest/Gherkin/GherkinTestRunner.cs     | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/GherkinTestRunner.cs b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/GherkinTestRunner.cs
index 300eb742e4..720b98eacc 100644
--- a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/GherkinTestRunner.cs
+++ b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/GherkinTestRunner.cs
@@ -38,6 +38,10 @@ using Xunit.Abstractions;
 
 namespace Gremlin.Net.IntegrationTest.Gherkin
 {
+    [CollectionDefinition(nameof(GherkinTestDefinition), DisableParallelization = true)]
+    public class GherkinTestDefinition { }
+
+    [Collection(nameof(GherkinTestDefinition))]
     public class GherkinTestRunner
     {
         private static readonly IDictionary<string, IgnoreReason> IgnoredScenarios =