Skip to content

Commit 0575d88

Browse files
committed
Testing reliability fixes
1 parent 0c3836f commit 0575d88

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

build/scripts/ReposTooling.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module ReposTooling =
1515
let clusterName = Option.defaultValue "" <| match args.CommandArguments with | Cluster c -> Some c.Name | _ -> None
1616
let clusterVersion = Option.defaultValue "" <|match args.CommandArguments with | Cluster c -> c.Version | _ -> None
1717

18-
let testsProjectDirectory = Path.GetFullPath(Paths.InplaceBuildTestOutput "Tests.ClusterLauncher" "net5.0")
18+
let testsProjectDirectory = Path.GetFullPath(Paths.InplaceBuildTestOutput "Tests.ClusterLauncher" "net6.0")
1919
let tempDir = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
2020

2121
printfn "%s" testsProjectDirectory

tests/Tests.Core/ManagedElasticsearch/NodeSeeders/DefaultSeeder.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,9 @@ public void SeedNodeNoData()
6868
// writing tests to cut down on cluster startup times.
6969
// If raw_fields exists assume this cluster is already seeded.
7070

71-
// private bool AlreadySeeded() => false; // TODO: Add exists for HEAD responses
7271
private bool AlreadySeeded()
7372
{
74-
var response = Client.Transport.Request<BytesResponse>(HttpMethod.HEAD, $"_template/{TestsIndexTemplateName}", PostData.Empty);
73+
var response = Client.Transport.Request<BytesResponse>(HttpMethod.HEAD, $"_template/{TestsIndexTemplateName}");
7574
return response.HttpStatusCode == 200;
7675
}
7776

0 commit comments

Comments
 (0)