Hussain Towaileb has posted comments on this change. ( 
https://asterix-gerrit.ics.uci.edu/3393 )

Change subject: [ASTERIXDB-2569][TEST] Refactor type computer tests
......................................................................


Patch Set 4:

(2 comments)

https://asterix-gerrit.ics.uci.edu/#/c/3393/3/asterixdb/asterix-om/pom.xml
File asterixdb/asterix-om/pom.xml:

https://asterix-gerrit.ics.uci.edu/#/c/3393/3/asterixdb/asterix-om/pom.xml@135
PS3, Line 135:       <scope>test</scope>
> add <scope>test</scope> . it's a test-only dependency, right?
You're right, my bad, done.


https://asterix-gerrit.ics.uci.edu/#/c/3393/3/asterixdb/asterix-om/src/test/java/org/apache/asterix/test/om/typecomputer/ExceptionTest.java
File 
asterixdb/asterix-om/src/test/java/org/apache/asterix/test/om/typecomputer/ExceptionTest.java:

https://asterix-gerrit.ics.uci.edu/#/c/3393/3/asterixdb/asterix-om/src/test/java/org/apache/asterix/test/om/typecomputer/ExceptionTest.java@20
PS3, Line 20: package org.apache.asterix.test.om.typecomputer;
> can you explain why these tests were moved to the "test" package? The usual
The Log4j is using the log4j2-asterixdb-test.xml file for the test logging 
configuration, which looks for the reflection for "org.apache.asterix.test" to 
use the ConsoleTest appender, that's why I moved the tests to the "test" 
package.

I noticed the same is being done for other tests, if you check the asterix-app 
module, the tests are under org.apache.asterix.test package as well.

When I had it in the original package (before modifications), the logger 
wouldn't log anything, and it only started working after moving them.

Please note that before we were using "System.out.print" for logging rather 
than Logger, that's why it wasn't an issue, but with the Logger, I had to move 
them.



--
To view, visit https://asterix-gerrit.ics.uci.edu/3393
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I4426efcc9e825ebb00e04e3783d18bb1cbb63a90
Gerrit-Change-Number: 3393
Gerrit-PatchSet: 4
Gerrit-Owner: Hussain Towaileb <hussai...@gmail.com>
Gerrit-Reviewer: Ali Alsuliman <ali.al.solai...@gmail.com>
Gerrit-Reviewer: Anon. E. Moose (1000171)
Gerrit-Reviewer: Dmitry Lychagin <dmitry.lycha...@couchbase.com>
Gerrit-Reviewer: Hussain Towaileb <hussai...@gmail.com>
Gerrit-Reviewer: Hussain Towaileb <hussai...@gmail.com>
Gerrit-Reviewer: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Gerrit-Comment-Date: Tue, 21 May 2019 18:33:14 +0000
Gerrit-HasComments: Yes

Reply via email to