Tests fail on AppHarbor, but app runs fine

23 views
Skip to first unread message

Krokonoster

unread,
Sep 23, 2012, 9:43:33 AM9/23/12
to sharp...@googlegroups.com
Hi,
Got 2 issues with github / appharbor, though not sure if the first is related to SharpLite though.

Created a private repo on github and configured it to push to appharbor.  However, for first time ever,  while Appharbor do get notified of changes on github, it kept giving me errors that the code could not be fully downloaded from github.
Overcame this by pushing directly to my appharbor repository.  Fine, but kept giving me "some test did not pass" errors.  
Only tests was the two you got in MappingIntegrationTests though.   So commented out the whole test class, pushed....all fine!

For what it matter the database I use is a remote db on a shared host I got.  It work fine on my local machine, as well as when I pushed to Appharbor.

Any idea as to why this is?  (I'm 99% sure the first issue is not S#arpLite related....perhaps should ask my $7 back from GitHub..lol)

Billy McCafferty

unread,
Oct 9, 2012, 4:56:38 PM10/9/12
to sharp...@googlegroups.com
The tests within MappingIntegrationTests are the only ones (by default) that communicate directly with the database, using the connection string in YourProject.Web/web.config.  Does the test running server have access to the DB connection string that you're providing?

Billy McCafferty

Krokonoster

unread,
Oct 10, 2012, 1:49:24 AM10/10/12
to sharp...@googlegroups.com
I used a database on a shared host, so not sure if that was an issue.
Gave up on it though.

Billy McCafferty

unread,
Oct 10, 2012, 10:27:28 AM10/10/12
to sharp...@googlegroups.com
Hi Krokonoster,

If you give it another shot ever, please post the exception the tests are running into and I can help to further troubleshoot.

Thanks!
Billy
Reply all
Reply to author
Forward
0 new messages