Comments (13)
Don't mind me, I just noticed pull #32 adds this.
from fetch.
Like you, I can't get the Fetch Test Suite running properly... That's why #32 is still a request and has not been merged yet.
I don't have enough time to work on that problem, so the request might still be a request for a while...
from fetch.
Yeah, even with Vagrant, I'm thinking Fetch's test suite is still too specific to @tedivm's machine. I'll try playing around with it again in the next few days to see if I can get it working.
from fetch.
I'm happy to help you guys figure out what's going on. I can tell you that I'm not the only one who has used the test suite successfully though.
What machine are you running on and what's the error? Are you guys sure you have the imap extension installed on your machine?
from fetch.
Actually, I can have the test suit work, but only get 2 tests passed successfully.
Here what I just got right now : https://gist.github.com/OlivierCecillon/1910b47b3d1f438330bf
Here is what I got earlier this afternoon : https://gist.github.com/OlivierCecillon/86680119aaf32ce6382d (sorry, locale was FR at this moment)
from fetch.
The first big problem I'm running into is an error when I run phpunit that says
/bin/bash: /Users/username/Sites/repos/Fetch/tests/vendor/tedivm/dovecottesting/SetupEnvironment.sh: No such file or directory
It's because __DIR__
in bootstrap.php
is returning /Users/username/Sites/repos/Fetch/tests/
and the vendor
directory is a sibling rather than a child of tests
. I can fix it by editing bootstrap.php
, but that sets off a cascade of other errors. Since I'm assuming that shouldn't have to be done, I suspect I've set something up incorrectly. Rather embarrassing– I'm just not sure what it is.
from fetch.
Well, I did not think of it anymore, but I had the same problem... Had to correct it manually to get it work...
from fetch.
Sorry about this guys- I had these issues corrected, which is why I was confused here, but it appears I never merged those changes back into the mainline. I merged that in as part of #41 so please give things another try.
from fetch.
Hi. Thanks for the update. Unfortunately, I still run the same errors.
https://gist.github.com/OlivierCecillon/fecd51a94a57b1c3cc36
Some tests are successfully passed and some are definitely not...
It seems it's all related to the same problem : the client can't connect to the server (172.31.1.2) neither on port 143 nor on 993.
But I can ping it:
ping 172.31.1.2
PING 172.31.1.2 (172.31.1.2) 56(84) bytes of data.
64 bytes from 172.31.1.2: icmp_req=1 ttl=64 time=0.269 ms
64 bytes from 172.31.1.2: icmp_req=2 ttl=64 time=0.261 ms
Don't really know where ti dig since I'm not much comfortable with Vagrant and phpunit...
from fetch.
Can you go into vendor/DovecotTesting/vagrant and type "vagrant ssh". Then type "sudo service dovecot restart", wait a minute, and then attempt the test?
I don't know if that'll work or not, but it'll help me narrow things down.
from fetch.
Ahem... Well... I don't know what to think... I've seen your mail, then before trying to manually start Dovecot, I've run phpunit again...
And...
phpunit
Initializing Environment using Vagrant
Fri Mar 14 22:31:56 UTC 2014
[default] Running provisioner: shell...
[default] Running: /tmp/vagrant-shell20140314-17525-14ruf1k
stdin: is not a tty
Provisioning Environment with Dovecot and Test Messages
Dovecot is already installed
testuser already exists
Refreshing the test mailbox- this could take a minute.
dovecot stop/waiting
dovecot start/running, process 1637
Test mailbox restored.
Environment has been provisioned
Environment Initialized
PHPUnit 3.7.29 by Sebastian Bergmann.
Configuration read from /home/olivier/workspace-repositories/Fetch/Fetch/phpunit.xml.dist
................................................
Time: 2.87 minutes, Memory: 4.25Mb
OK (48 tests, 121 assertions)
Of course, I've not modified a single character. Really. I swear. I was not at home during all day. Just got back home, tried and... it worked... Don't understand...
So hum... For me, the problem is solved (magically ?). When back from holidays, I can write the tests for #32 I've submitted a while ago...
Thanks for your time... Maybe the last update will solve the problem for @kevinsmith ?
from fetch.
One thing I can say, maybe : I've let my terminal open all day... I know it's not supposed to have any influence since the VM stops after 30 minutes, but... don't know...
from fetch.
Any chance you ran a composer update or fresh install? I did make changes to the test suite.
from fetch.
Related Issues (20)
- Unseen messages HOT 1
- Allow get raw unparsed message (with all headers and body) HOT 1
- getMessages() should allow pagination, not only limit
- I'm having problems with koi8-r encoded messages HOT 3
- two issues found and corrected HOT 1
- Fetching More than 100 Email, Response is very slow.
- An empty file in the attachment generates false instead of the whole Message
- Call to undefined function Fetch\imap_num_msg() HOT 1
- Invalid cert on site HOT 2
- What happened to the channel?
- Insecure default connection flags
- Change setFileName() method from protected to public
- oAuth authentication HOT 4
- Open Shared Inbox HOT 2
- Unable to add multiple flags HOT 1
- Moving message between 2 IMAP accounts HOT 1
- IMAP TLS on 143 with Plain Auth
- ErrorException: imap_savebody(): stream filter (convert.base64-decode): invalid byte sequence HOT 1
- Question about versioning on the Packagist. HOT 2
- attachment - only from the email body HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fetch.