Skip to content

Commit

Permalink
IntegrationTestAttribute: Make false the default value for ability to…
Browse files Browse the repository at this point in the history
… run CI.
  • Loading branch information
danielcweber committed Jul 22, 2024
1 parent 577a7b3 commit f7d9f3f
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace ExRam.Gremlinq.Providers.GremlinServer.Tests
{
[IntegrationTest("Linux")]
[IntegrationTest("Windows", false)]
[IntegrationTest("Windows")]
public sealed class IntegrationAndDeserializationTests : QueryExecutionTest, IClassFixture<GremlinServerContainerFixture>
{
public IntegrationAndDeserializationTests(GremlinServerContainerFixture fixture) : base(
Expand Down
2 changes: 1 addition & 1 deletion test/Providers.GremlinServer.Tests/IntegrationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace ExRam.Gremlinq.Providers.GremlinServer.Tests
{
[IntegrationTest("Linux")]
[IntegrationTest("Windows", false)]
[IntegrationTest("Windows")]
public sealed class IntegrationTests : QueryExecutionTest, IClassFixture<GremlinServerContainerFixture>
{
public IntegrationTests(GremlinServerContainerFixture fixture) : base(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace ExRam.Gremlinq.Providers.GremlinServer.Tests
{
[IntegrationTest("Linux")]
[IntegrationTest("Windows", false)]
[IntegrationTest("Windows")]
public sealed class IntegrationWithoutProjectionTests : QueryExecutionTest, IClassFixture<GremlinServerWithoutProjectionContainerFixture>
{
public IntegrationWithoutProjectionTests(GremlinServerWithoutProjectionContainerFixture fixture) : base(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace ExRam.Gremlinq.Providers.GremlinServer.Tests
{
[IntegrationTest("Linux")]
[IntegrationTest("Windows", false)]
[IntegrationTest("Windows")]
public sealed class PasswordSecuredIntegrationTests : QueryExecutionTest, IClassFixture<PasswordSecuredGremlinServerContainerFixture>
{
public PasswordSecuredIntegrationTests(PasswordSecuredGremlinServerContainerFixture fixture) : base(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
namespace ExRam.Gremlinq.Providers.GremlinServer.Tests
{
[IntegrationTest("Linux")]
[IntegrationTest("Windows", false)]
[IntegrationTest("Windows")]
public sealed class WrongPasswordIntegrationTests : GremlinqTestBase, IClassFixture<WrongPasswordGremlinServerContainerFixture>
{
public sealed class WrongPasswordGremlinServerContainerFixture : DockerfileTestContainerFixture
Expand Down
2 changes: 1 addition & 1 deletion test/Providers.JanusGraph.Tests/IntegrationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace ExRam.Gremlinq.Providers.JanusGraph.Tests
{
[IntegrationTest("Linux")]
[IntegrationTest("Windows", false)]
[IntegrationTest("Windows")]
public sealed class IntegrationTests : QueryExecutionTest, IClassFixture<JanusGraphContainerFixture>
{
public new sealed class Verifier : JTokenExecutingVerifier
Expand Down
2 changes: 1 addition & 1 deletion test/Providers.Neptune.Tests/IntegrationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace ExRam.Gremlinq.Providers.Neptune.Tests
{
[IntegrationTest("Linux")]
[IntegrationTest("Windows", false)]
[IntegrationTest("Windows")]
public sealed class IntegrationTests : QueryExecutionTest, IClassFixture<NeptuneContainerFixture>
{
public IntegrationTests(NeptuneContainerFixture fixture) : base(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace ExRam.Gremlinq.Tests.Infrastructure
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
public sealed class IntegrationTestAttribute : Attribute, ITraitAttribute
{
public IntegrationTestAttribute(string validPlatform, bool canRunOnCI = true)
public IntegrationTestAttribute(string validPlatform, bool canRunOnCI = false)
{
CanRunOnCI = canRunOnCI;
ValidPlatform = validPlatform;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public IEnumerable<KeyValuePair<string, string>> GetTraits(IAttributeInfo traitA

if (traitAttribute is ReflectionAttributeInfo { Attribute: IntegrationTestAttribute integrationTestAttribute })
{
if (/*integrationTestAttribute.CanRunOnCI || */ !isCi)
if (integrationTestAttribute.CanRunOnCI || !isCi)
yield return new KeyValuePair<string, string>("ValidPlatform", integrationTestAttribute.ValidPlatform);
}
}
Expand Down

0 comments on commit f7d9f3f

Please sign in to comment.