Skip to content

Commit 5c82990

Browse files
authored
ci(vertexai): remove specific token count test (#10184)
* ci(vertexai): test for type, not for value * use isNotNull instead
1 parent 1a503f8 commit 5c82990

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vertexai/snippets/src/test/java/vertexai/gemini/SnippetsIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public void testTokenCount() throws Exception {
175175
@Test
176176
public void testMediaTokenCount() throws Exception {
177177
int tokenCount = GetMediaTokenCount.getMediaTokenCount(PROJECT_ID, LOCATION, GEMINI_FLASH);
178-
assertThat(tokenCount).isEqualTo(16252);
178+
assertThat(tokenCount).isNotNull();
179179
}
180180

181181
@Test

0 commit comments

Comments
 (0)