Skip to content

Commit eaeeafd

Browse files
committed
tests: add debug logs
Signed-off-by: Marcel Klehr <[email protected]>
1 parent 4411763 commit eaeeafd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/ClassifierTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,10 @@ public function testFileListener(string $ignoreFileName) : void {
154154
$storageId = $this->testFile->getMountPoint()->getNumericStorageId();
155155
$rootId = $this->testFile->getMountPoint()->getStorageRootId();
156156

157+
var_dump([ 'testFile' => $this->testFile->getId(), 'ignoredFile' => $this->ignoredFile->getId() ]);
158+
157159
$this->runFsActionJobs();
158-
self::assertCount(1, $this->queue->getFromQueue(ImagenetClassifier::MODEL_NAME, $storageId, $rootId, 100), 'one element should have been added to imagenet queue');
160+
self::assertCount(1, $this->queue->getFromQueue(ImagenetClassifier::MODEL_NAME, $storageId, $rootId, 100), 'one element should have been added to imagenet queue: ' . var_export($this->queue->getFromQueue(ImagenetClassifier::MODEL_NAME, $storageId, $rootId, 100), true));
159161

160162
$this->testFile->delete();
161163

0 commit comments

Comments
 (0)