Skip to content

Commit

Permalink
Tests: disable scheduler test for github
Browse files Browse the repository at this point in the history
  • Loading branch information
HermanSchoenfeld committed May 1, 2024
1 parent 1203a17 commit b09c3b0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/Hydrogen.Tests/Threading/SchedulerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ namespace Hydrogen.Tests;
[NonParallelizable]
public class SchedulerTest {

[SetUp]
public void Setup() {
Assume.That(!Tools.NUnit.IsGitHubAction, "Test fixture is disabled on GitHub Actions");
}

[Test]
public async Task StartOn_LocalTime() {
var count = 0;
Expand Down Expand Up @@ -110,6 +115,7 @@ void UpdateCount(Statistics countStats, ref DateTime lastCountTime) {

[Test]
public async Task RescheduleOnStart() {

// Schedule = every 0.1 second
// Run for 1 second
// Execution takes 1.1 seconds
Expand Down

0 comments on commit b09c3b0

Please sign in to comment.