Skip to content

Commit

Permalink
Bump test Metabase to 0.40.8
Browse files Browse the repository at this point in the history
  • Loading branch information
mausch committed May 5, 2024
1 parent 61e736f commit 75100bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ static Dictionary<string, string> AddMany(this IDictionary<string, string> a, ID
var privateIP = docker.Networks.InspectNetworkAsync("bridge").GetAwaiter().GetResult().IPAM.Config[0].Gateway;
var connString = new NpgsqlConnectionStringBuilder(postgres.Value.GetConnectionString());
var container = new ContainerBuilder()
.WithImage("metabase/metabase:v0.39.7")
.WithImage("metabase/metabase:v0.40.8")
.WithPortBinding(metabasePort, assignRandomHostPort: true)
.WithWaitStrategy(Wait.ForUnixContainer().UntilMessageIsLogged("Metabase Initialization COMPLETE"))
.WithEnvironment(new Dictionary<string, string>
Expand Down
2 changes: 1 addition & 1 deletion metabase-exporter/MetabaseApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public async Task<IReadOnlyList<DatabaseId>> GetAllDatabaseIds()
var response = await sessionManager.Send(request);
try
{
var databases = JsonConvert.DeserializeObject<JArray>(response);
var databases = JsonConvert.DeserializeObject<JObject>(response)["data"];
return databases.Select(d => new DatabaseId((int) d["id"])).ToList();
}
catch (JsonSerializationException e)
Expand Down

0 comments on commit 75100bc

Please sign in to comment.