Skip to content

Commit 584f02a

Browse files
committed
use a date that's way in the past for slow queries
1 parent 16121e3 commit 584f02a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

tests/accuracy/dropDatabase.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ describeAccuracyTests([
44
{
55
prompt: "Remove mflix database from my cluster.",
66
expectedToolCalls: [
7+
{
8+
toolName: "list-databases",
9+
parameters: {},
10+
optional: true,
11+
},
712
{
813
toolName: "drop-database",
914
parameters: {

tests/accuracy/getPerformanceAdvisor.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ describeAccuracyTests([
8585
},
8686
// Test for Slow Query Logs operation
8787
{
88-
prompt: "Show me the slow query logs for the 'mflix' project and 'mflix-cluster' cluster for the namespaces 'mflix.movies' and 'mflix.shows' since January 1st, 2025 (a date that is certainly in the past!).",
88+
prompt: "Show me the slow query logs for the 'mflix' project and 'mflix-cluster' cluster for the namespaces 'mflix.movies' and 'mflix.shows' since January 1st, 2023",
8989
expectedToolCalls: [
9090
...listProjectsAndClustersToolCalls,
9191
{
@@ -95,7 +95,7 @@ describeAccuracyTests([
9595
clusterName: "mflix-cluster",
9696
operations: ["slowQueryLogs"],
9797
namespaces: ["mflix.movies", "mflix.shows"],
98-
since: "2025-01-01T00:00:00Z",
98+
since: "2023-01-01T00:00:00Z",
9999
},
100100
},
101101
],

0 commit comments

Comments
 (0)