test: sync cross-platform LocalDB guard

This commit is contained in:
Alexandre Brandizzi 2026-07-24 13:12:38 -03:00
commit 1ede0a5ece

View file

@ -136,6 +136,9 @@ public class Phase4SearchIndexesSqlServerTests
private static async Task<bool> IsLocalDbAvailableAsync() private static async Task<bool> IsLocalDbAvailableAsync()
{ {
if (!OperatingSystem.IsWindows())
return false;
try try
{ {
await using var connection = new SqlConnection(LocalDbMaster); await using var connection = new SqlConnection(LocalDbMaster);