After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 790972 - 410-extractor-decorator.py fails due to a typo in the interface name
410-extractor-decorator.py fails due to a typo in the interface name
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: Tests
git master
Other All
: Normal normal
: ---
Assigned To: tracker-general
tracker-general
Depends on:
Blocks:
 
 
Reported: 2017-11-29 08:25 UTC by Debarshi Ray
Modified: 2017-12-01 11:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
functional-tests: Unbreak test by fixing the name of the interface (1.53 KB, patch)
2017-11-29 08:26 UTC, Debarshi Ray
accepted-commit_now Details | Review

Description Debarshi Ray 2017-11-29 08:25:06 UTC
There is nothing called org.freedesktop.Tracker1.Miner.Index. Instead, it is org.freedesktop.Tracker1.Miner.Files.Index.
Comment 1 Debarshi Ray 2017-11-29 08:26:02 UTC
Created attachment 364604 [details] [review]
functional-tests: Unbreak test by fixing the name of the interface
Comment 2 Debarshi Ray 2017-11-29 08:30:20 UTC
I still see some intermittent failures:

Traceback (most recent call last):
  • File "./410-extractor-decorator.py", line 84 in test_reextraction
    VALID_FILE_CLASS, title=VALID_FILE_TITLE)
  • File "/home/rishi/devel/tracker/git/tracker-miners/tests/functional-tests/common/utils/helpers.py", line 378 in await_resource_inserted
    raise Exception ("Timeout waiting for resource: class %s, URL %s, title %s" % (rdf_class, url, title))
Exception: Timeout waiting for resource: class nmm:MusicPiece, URL None, title

... or:

Traceback (most recent call last):
  File "./410-extractor-decorator.py", line 103, in test_reextraction
    assert len(title_result) == 1
AssertionError

Those seem like timing issues.
Comment 3 Carlos Garnacho 2017-12-01 11:10:40 UTC
Comment on attachment 364604 [details] [review]
functional-tests: Unbreak test by fixing the name of the interface

Looks good :)
Comment 4 Debarshi Ray 2017-12-01 11:21:17 UTC
Thanks. Pushed to both tracker.git and tracker-miners.git.