Skip to content

Commit e02224d

Browse files
committed
fix(priming-group): use trained_at instead of cached_vizlogic_key in test
1 parent 389b680 commit e02224d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/unit/test_priming_groups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def _wait_for_trained_pipeline(gl_experimental: ExperimentalApi, detector, timeo
6969
while time.monotonic() < deadline:
7070
pipelines = gl_experimental.list_detector_pipelines(detector)
7171
for p in pipelines:
72-
if p.is_active_pipeline and p.cached_vizlogic_key:
72+
if p.is_active_pipeline and p.trained_at is not None:
7373
return p
7474
time.sleep(5)
7575

0 commit comments

Comments
 (0)