Need Help: Review Board Unit Test Problem

2014-04-08 Thread Koushik Roy

Hi,

  I am trying to run review board unit tests with manage.py test

  I have two questions -

1. The tests were hung. What am I missing?
I was able to run them once - but not the second time.

*Copying 
'/home/kroy/envs/serverside/apr4/local/lib/python2.7/site-packages/Django-1.4.10-py2.7.egg/django/contrib/admin/static/admin/js/admin/RelatedObjectLookups.js'*

*267 static files copied.*
*Creating test database for alias 'default'...*
*^Z*
*Suspended*


2. When the tests ran for the first time, I noticed that I need 
internet connection to access Perforce server etc.
How can I run the tests with internal servers?


Thanks for the help.

Koushik Roy.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Need Help: Review Board Unit Test Problem

2014-04-08 Thread Christian Hammond
Hi,

This is probably best discussed on the reviewboard-dev list, but that's
okay. I have a few questions.

1. Are you using sqlite as your database backend, or something else? You
should only use sqlite for the test suite, or you'll have a bad time.

2. What are you running the tests on, OS/distro-wise?

3. What version of Review Board?

You do need an Internet connection for many of the tests, but assuming a
modern tree, it *should* skip those tests once it realizes it can't reach
the servers. There is no way to run against internal servers, since they
would simply fail. We need it to be the specific servers we're testing
against.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


On Tue, Apr 8, 2014 at 12:29 PM, Koushik Roy roys2...@gmail.com wrote:


 Hi,

   I am trying to run review board unit tests with manage.py test

   I have two questions -

 1. The tests were hung. What am I missing?
 I was able to run them once - but not the second time.

 *Copying
 '/home/kroy/envs/serverside/apr4/local/lib/python2.7/site-packages/Django-1.4.10-py2.7.egg/django/contrib/admin/static/admin/js/admin/RelatedObjectLookups.js'*

 *267 static files copied.*
 *Creating test database for alias 'default'...*
 *^Z*
 *Suspended*


 2. When the tests ran for the first time, I noticed that I need
 internet connection to access Perforce server etc.
 How can I run the tests with internal servers?


 Thanks for the help.

 Koushik Roy.

  --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google Groups
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Need Help: Review Board Unit Test Problem

2014-04-08 Thread Koushik Roy
Christian, thanks for the quick response.
1. Yes, I am using sqlite for the unit tests. (For my actual server, its 
MySql)
2  3. I am running RB1.7.13 on Debian7-64

Its only the tests that I cannot run; my real environment with Apache-MySql 
etc. is functional.

Thanks.




On Tuesday, April 8, 2014 3:53:52 PM UTC-4, Christian Hammond wrote:

 Hi,

 This is probably best discussed on the reviewboard-dev list, but that's 
 okay. I have a few questions.

 1. Are you using sqlite as your database backend, or something else? You 
 should only use sqlite for the test suite, or you'll have a bad time.

 2. What are you running the tests on, OS/distro-wise?

 3. What version of Review Board?

 You do need an Internet connection for many of the tests, but assuming a 
 modern tree, it *should* skip those tests once it realizes it can't reach 
 the servers. There is no way to run against internal servers, since they 
 would simply fail. We need it to be the specific servers we're testing 
 against.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com javascript:
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com


 On Tue, Apr 8, 2014 at 12:29 PM, Koushik Roy roys...@gmail.comjavascript:
  wrote:


 Hi,

   I am trying to run review board unit tests with manage.py test

   I have two questions -

 1. The tests were hung. What am I missing?
 I was able to run them once - but not the second time.

 *Copying 
 '/home/kroy/envs/serverside/apr4/local/lib/python2.7/site-packages/Django-1.4.10-py2.7.egg/django/contrib/admin/static/admin/js/admin/RelatedObjectLookups.js'*

 *267 static files copied.*
 *Creating test database for alias 'default'...*
 *^Z*
 *Suspended*


 2. When the tests ran for the first time, I noticed that I need 
 internet connection to access Perforce server etc.
 How can I run the tests with internal servers?


 Thanks for the help.

 Koushik Roy.

  -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 --- 
 You received this message because you are subscribed to the Google Groups 
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to reviewboard...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.