Skip to content

Commit 9d727b3

Browse files
committed
test schedules fix
1 parent e26a18f commit 9d727b3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/test/src/test-schedules.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,7 @@ if (RUN_INTEGRATION_TESTS) {
185185
});
186186
t.deepEqual(describedSchedule.action.typedSearchAttributes, new TypedSearchAttributes([
187187
searchAttributePair('CustomIntField', SearchAttributeType.INT, 42),
188-
// Note that the typed search attribute infers type TEXT from the value.
189-
searchAttributePair('CustomKeywordField', SearchAttributeType.TEXT, 'test-value2'),
188+
searchAttributePair('CustomKeywordField', SearchAttributeType.KEYWORD, 'test-value2'),
190189
]));
191190
} finally {
192191
await handle.delete();
@@ -229,8 +228,7 @@ if (RUN_INTEGRATION_TESTS) {
229228
});
230229
t.deepEqual(describedSchedule.action.typedSearchAttributes, new TypedSearchAttributes([
231230
searchAttributePair('CustomIntField', SearchAttributeType.INT, 42),
232-
// Note that the typed search attribute "guesses" TEXT, inferred from the value.
233-
searchAttributePair('CustomKeywordField', SearchAttributeType.TEXT, 'test-value2'),
231+
searchAttributePair('CustomKeywordField', SearchAttributeType.KEYWORD, 'test-value2'),
234232
]));
235233
} finally {
236234
await handle.delete();

0 commit comments

Comments
 (0)