Skip to content

Commit

Permalink
test schedules fix
Browse files Browse the repository at this point in the history
  • Loading branch information
THardy98 committed Feb 6, 2025
1 parent e26a18f commit 9d727b3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/test/src/test-schedules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,7 @@ if (RUN_INTEGRATION_TESTS) {
});
t.deepEqual(describedSchedule.action.typedSearchAttributes, new TypedSearchAttributes([
searchAttributePair('CustomIntField', SearchAttributeType.INT, 42),
// Note that the typed search attribute infers type TEXT from the value.
searchAttributePair('CustomKeywordField', SearchAttributeType.TEXT, 'test-value2'),
searchAttributePair('CustomKeywordField', SearchAttributeType.KEYWORD, 'test-value2'),
]));
} finally {
await handle.delete();
Expand Down Expand Up @@ -229,8 +228,7 @@ if (RUN_INTEGRATION_TESTS) {
});
t.deepEqual(describedSchedule.action.typedSearchAttributes, new TypedSearchAttributes([
searchAttributePair('CustomIntField', SearchAttributeType.INT, 42),
// Note that the typed search attribute "guesses" TEXT, inferred from the value.
searchAttributePair('CustomKeywordField', SearchAttributeType.TEXT, 'test-value2'),
searchAttributePair('CustomKeywordField', SearchAttributeType.KEYWORD, 'test-value2'),
]));
} finally {
await handle.delete();
Expand Down

0 comments on commit 9d727b3

Please sign in to comment.