zoffixznet / WWW-Pastebin-PastebinCom-API

3 stars 4 forks source link

No more trendy pastes? #2

Open eserte opened 8 years ago

eserte commented 8 years ago

t/01-paste.t currently fails:

#   Failed test 'Got some trendy pastes'
#   at t/01-paste.t line 75.
# Testing listing of user pastes
# Testing delete_paste and error methods
# Looks like you failed 1 test of 22.
t/01-paste.t .... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/22 subtests 
zoffixznet commented 8 years ago

More likely the pastebin's API is glitching at the moment.

The trending pastes still exist and are still listed in the API docs. Looking at smokers reports, the last one was 6 days ago and there are no fails in the matrix.

I dumped the response I get for the trends API call and it's just empty, even if I use a different API key.

I'd wait to see if this issue fixes itself. If anyone else wants to look into it, PRs are welcome :smile_cat:

eserte commented 8 years ago

Here are somewhat more current reports: http://fast-matrix.cpantesters.org/?dist=WWW-Pastebin-PastebinCom-API;reports=1#sl=7,1

Granted, the fails all happened in the previous hour.

zoffixznet commented 8 years ago

Seems this issue no longer exists. Tests pass for me.

eserte commented 8 years ago

It happened again: after the upload of 1.001003 the first 19 reports sent from my smoker were pass reports --- and now it's again all fail reports, again in line 75 of t/01-paste.t.

zoffixznet commented 8 years ago

k, looks like it might be incorrect handling of error cases in the tests. Re-opening, thanks.