Skip to content

Commit

Permalink
Remove this test as it may be causing massive amounts of spurious CI …
Browse files Browse the repository at this point in the history
…failures
  • Loading branch information
Cyberboss committed Oct 18, 2023
1 parent 2c98859 commit 3edb997
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
20 changes: 0 additions & 20 deletions tests/DMAPI/LongRunning/Test.dm
Original file line number Diff line number Diff line change
Expand Up @@ -146,26 +146,6 @@ var/run_bridge_test
kajigger_test = TRUE
return "we love casting spells"

var/expected_path = data["vaporeon"]
if(expected_path)
var/command
if(world.system_type == MS_WINDOWS)
command = "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -ExecutionPolicy Bypass -Command \"if('[expected_path]' -ne $(Get-Location)){ (Get-Location).Path | Out-File \"fuck_up.txt\"; exit 1; }\""
else
command = "if \[\[ \"[expected_path]\" != \"$(pwd)\" \]\]; then echo $(pwd) > fuck_up.txt; exit 1; fi"

world.log << "shell: [command]"
var/exitCode = shell(command)

if(isnull(exitCode) || exitCode != 0)
var/fuck_up_reason = "DIDN'T READ"
if(fexists("fuck_up.txt"))
fuck_up_reason = "COULDN'T READ"
fuck_up_reason = file2text("fuck_up.txt")
return "Dir check shell command failed with code [exitCode || "null"]: [fuck_up_reason]"

return "is the most pokemon of all time"

TgsChatBroadcast(new /datum/tgs_message_content("Recieved non-tgs topic: `[T]`"))

return "feck"
Expand Down
4 changes: 2 additions & 2 deletions tests/Tgstation.Server.Tests/Live/Instance/WatchdogTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ await Task.WhenAll(

await RunLongRunningTestThenUpdate(cancellationToken);

await TestDDIsntResolvingSymlink(cancellationToken);

await RunLongRunningTestThenUpdateWithNewDme(cancellationToken);
await RunLongRunningTestThenUpdateWithByondVersionSwitch(cancellationToken);

Expand All @@ -154,6 +152,8 @@ await instanceClient.DreamDaemon.Update(new DreamDaemonRequest

async ValueTask TestDDIsntResolvingSymlink(CancellationToken cancellationToken)
{
Assert.Inconclusive("Not even sure this test works");

System.Console.WriteLine("STARTING SYMLINK RESOLVE TEST");
var deployTask = DeployTestDme("long_running_test_rooted", DreamDaemonSecurity.Trusted, true, cancellationToken);

Expand Down

0 comments on commit 3edb997

Please sign in to comment.