Skip to content

Commit 11e34dc

Browse files
committed
ci fix
1 parent a04cb96 commit 11e34dc

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/net-questdb-client-tests/QuestDbIntegrationTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ await sender
304304
{
305305
using var client = new HttpClient();
306306
client.Timeout = TimeSpan.FromSeconds(5);
307-
var response = await client.GetAsync($"{httpEndpoint}/exec?query=test_chaos");
307+
var response = await client.GetAsync($"http://{httpEndpoint}/exec?query=test_chaos");
308308

309309
if (response.IsSuccessStatusCode)
310310
{
@@ -559,7 +559,7 @@ private async Task<long> GetTableRowCountAsync(string tableName)
559559
try
560560
{
561561
var response = await client.GetAsync(
562-
$"{httpEndpoint}/exec?query={tableName}");
562+
$"http://{httpEndpoint}/exec?query={tableName}");
563563

564564
if (response.IsSuccessStatusCode)
565565
{

src/net-questdb-client-tests/QuestDbManager.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,11 @@ public async Task StartAsync()
162162

163163
_containerId = output.Trim();
164164
Console.WriteLine($"QuestDB container started: {_containerId}");
165-
IsRunning = true;
165+
166166

167167
// Wait for QuestDB to be ready
168168
await WaitForQuestDbAsync();
169+
IsRunning = true;
169170
}
170171

171172
/// <summary>
@@ -222,7 +223,7 @@ private async Task WaitForQuestDbAsync()
222223
{
223224
try
224225
{
225-
var response = await _httpClient.GetAsync($"{GetHttpEndpoint()}/settings");
226+
var response = await _httpClient.GetAsync($"http://{GetHttpEndpoint()}/settings");
226227
if (response.IsSuccessStatusCode)
227228
{
228229
Console.WriteLine("QuestDB is ready");

0 commit comments

Comments
 (0)