Re: Question regarding hbase-shell JRuby testing workflow

2018-08-01 Thread Jack Bearden
Great feedback. Thanks all On Tue, Jul 31, 2018 at 10:59 AM, Sean Busbey wrote: > check out the configs for the maven-dependency-plugin. My guess would > be that your call to dependency:build-classpath is getting the > artifacts needed for runtime scope and not test scope. > > On Mon, Jul 30,

Re: Question regarding hbase-shell JRuby testing workflow

2018-07-31 Thread Sean Busbey
check out the configs for the maven-dependency-plugin. My guess would be that your call to dependency:build-classpath is getting the artifacts needed for runtime scope and not test scope. On Mon, Jul 30, 2018 at 10:16 PM, Jack Bearden wrote: > Hey all! I was hacking hbase-shell and JRuby over

Re: Question regarding hbase-shell JRuby testing workflow

2018-07-31 Thread Ted Yu
The flakiness of list_procedures_test.rb is probably related to the load on the node running the test, or other tests in hbase-shell module. I ran list_procedures_test.rb alone a few times which passed. Jack: You can include some other shell test(s) along with this test. You can also retrieve

Re: Question regarding hbase-shell JRuby testing workflow

2018-07-31 Thread Josh Elser
I haven't ever tried to de-couple from Maven. The 'lowest' I ever got was something like the following: 1. mvn clean install -DskipTests 2. cd hbase-shell 2. mvn package -Dtest=TestShell -Dshell.test.include=my_test_class.rb -o Hope this helps, Jack. I know it's not ideal -- if you do come up

Re: Question regarding hbase-shell JRuby testing workflow

2018-07-30 Thread Ted Yu
Have you tried sidelining other .rb files under hbase-shell//src/test/ruby/shell/ (keeping only hbase-shell//src/test/ruby/shell/list_procedures_test.rb) ? Cheers On Mon, Jul 30, 2018 at 8:29 PM Jack Bearden wrote: > Hey all! I was hacking hbase-shell and JRuby over the weekend and wanted to >

Question regarding hbase-shell JRuby testing workflow

2018-07-30 Thread Jack Bearden
Hey all! I was hacking hbase-shell and JRuby over the weekend and wanted to get some feedback on workflow. My objective was to execute a single Ruby unit test in isolation from the TestShell.java class via the jruby binary. I was able to accomplish this by doing the following steps: 1. Pulled