Skip to content

Commit

Permalink
Fix CentralizedDatasourceSchema group IT failure (#16636)
Browse files Browse the repository at this point in the history
* Fix build

* Update datasource name in ITSystemTableBatchIndexTaskTest
  • Loading branch information
findingrish authored Jun 21, 2024
1 parent 4e0ea78 commit 4eced9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class ITSystemTableBatchIndexTaskTest extends AbstractITBatchIndexTest
private static final Logger LOG = new Logger(ITSystemTableBatchIndexTaskTest.class);
private static final String INDEX_TASK = "/indexer/wikipedia_index_task.json";
private static final String SYSTEM_QUERIES_RESOURCE = "/indexer/sys_segment_batch_index_queries.json";
private static final String INDEX_DATASOURCE = "wikipedia_index_test";
private static final String INDEX_DATASOURCE = "sys_segment_wikipedia_index_test";

@Test
public void testIndexData() throws Exception
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"query": {
"query": "SELECT count(*) FROM sys.segments WHERE datasource LIKE 'wikipedia_index_test%'"
"query": "SELECT count(*) FROM sys.segments WHERE datasource LIKE 'sys_segment_wikipedia_index_test%'"
},
"expectedResults": [
{
Expand All @@ -24,7 +24,7 @@
},
{
"query": {
"query": "SELECT status AS status FROM sys.tasks WHERE datasource LIKE 'wikipedia_index_test%' GROUP BY 1"
"query": "SELECT status AS status FROM sys.tasks WHERE datasource LIKE 'sys_segment_wikipedia_index_test%' GROUP BY 1"
},
"expectedResults": [
{
Expand Down

0 comments on commit 4eced9b

Please sign in to comment.