On Wed Dec 18 20:07:29 2013, MAJENSEN wrote:
Show quoted text> Hi -
> I see you're using REST::Neo4p v0.126. Please upgrade to the latest
> version (0.2222); 002_agent should pass for you.
> Let me know if you see the issue (or any others) after upgrade.
> thanks MAJ
>
> On Wed Dec 18 14:42:10 2013, symonsjo@gmail.com wrote:
> > [root@larva bin]# cd /var/tmp/REST-Neo4p-0.126
> > [root@larva REST-Neo4p-0.126]# perl Makefile.PL
> > # running Build.PL
> > Server for live tests: [
http://127.0.0.1:7474 ]
> >
http://127.0.0.1:7474
> > Created MYMETA.yml and MYMETA.json
> > Creating new 'Build' script for 'REST-Neo4p' version '0.126'
> > Unknown 'build_class', defaulting to 'Module::Build'
> > [root@larva REST-Neo4p-0.126]# make
> > /usr/bin/perl Build --makefile_env_macros 1
> > Building REST-Neo4p
> > [root@larva REST-Neo4p-0.126]# make test
> > /usr/bin/perl Build --makefile_env_macros 1 test
> > t/001_load.t ............ ok
> > t/002_agent.t ........... 1/8
> > # Failed test 'neo4j version 1.8...'
> > # at t/002_agent.t line 37.
> > # '2.0.0'
> > # doesn't match '(?-xism:^1.8)'
> > # Looks like you failed 1 test of 8.
> > t/002_agent.t ........... Dubious, test returned 1 (wstat 256, 0x100)
> > Failed 1/8 subtests
> > t/003_objs.t ............ ok
> > t/004_idx.t ............. ok
> > t/005_db.t .............. ok
> > t/006_query.t ........... ok
> > t/007_accessors.t ....... ok
> > t/008_batch_agent.t ..... ok
> > t/009_batch.t ........... ok
> > t/010_batch_synopsis.t .. 1/? # this may take a while ...
> > t/010_batch_synopsis.t .. ok
> > t/098_pod.t ............. skipped: Test::Pod 1.00 required for
> > testing
> > POD
> > t/099_error.t ........... ok
> >
> > Test Summary Report
> > -------------------
> > t/002_agent.t (Wstat: 256 Tests: 8 Failed: 1)
> > Failed test: 7
> > Non-zero exit status: 1
> > Files=12, Tests=603, 22 wallclock secs ( 0.21 usr 0.04 sys + 10.68
> > cusr 0.70 csys = 11.63 CPU)
> > Result: FAIL
> > Failed 1/12 test programs. 1/603 subtests failed.
> > make: *** [test] Error 255
Hi Mark,
For some reason I had 0.126 bookmarked so my bad on that. I've noticed a bug though with 0.2222 in that you say yes to using localhost as the test but then it tries to connect to www.zzyxx.foo:7474 instead for agent_mod.t and fails for that. Output below:
[root@larva REST-Neo4p-0.2222]# perl Makefile.PL
# running Build.PL
Server for live tests: [
http://127.0.0.1:7474 ]
http://127.0.0.1:7474
Username: [ ]
Pass: [ ]
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'REST-Neo4p' version '0.2222'
Unknown 'build_class', defaulting to 'Module::Build'
[root@larva REST-Neo4p-0.2222]# make
/usr/bin/perl Build --makefile_env_macros 1
Building REST-Neo4p
[root@larva REST-Neo4p-0.2222]# make test
/usr/bin/perl Build --makefile_env_macros 1 test
t/001_load.t ................ ok
t/002_agent.t ............... ok
t/003_objs.t ................ ok
t/0041_idx_create_unique.t .. ok
t/004_idx.t ................. 1/68 # rt80440
t/004_idx.t ................. ok
t/0051_handle.t ............. ok
t/005_db.t .................. ok
t/006_query.t ............... 10/? # rt80343
t/006_query.t ............... ok
t/007_accessors.t ........... ok
t/008_batch_agent.t ......... ok
t/009_batch.t ............... ok
t/010_batch_synopsis.t ...... 1/? # this may take a while ...
t/010_batch_synopsis.t ...... ok
t/011_neo4p_synopsis.t ...... ok
t/020_constraint.t .......... ok
t/021_validation.t .......... ok
t/022_constrain.t ........... ok
t/023_constrain_synopsis.t .. ok
t/030_idx_escape.t .......... ok
t/040_v2_labels.t ........... ok
t/041_v2_txns.t ............. ok
t/098_pod.t ................. skipped: Test::Pod 1.00 required for testing POD
t/099_error.t ............... 1/? # rt80207
t/099_error.t ............... ok
t/agent_mod.t ............... 1/?
# Failed test 'timed out ok'
# at t/agent_mod.t line 41.
# 'Can't connect to www.zzyxx.foo:7474 (Bad hostname)'
# doesn't match '(?-xism:timeout)'
# Looks like you failed 1 test of 4.
t/agent_mod.t ............... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests
t/rt_80150.t ................ ok
t/rt_80196.t ................ ok
t/rt_80471.t ................ ok
t/rt_81128.t ................ ok
t/rt_90072.t ................ skipped: Test::CPAN::Changes required for this test
Test Summary Report
-------------------
t/040_v2_labels.t (Wstat: 0 Tests: 35 Failed: 0)
TODO passed: 12
t/agent_mod.t (Wstat: 256 Tests: 4 Failed: 1)
Failed test: 3
Non-zero exit status: 1
Files=28, Tests=1052, 36 wallclock secs ( 0.32 usr 0.08 sys + 16.57 cusr 1.49 csys = 18.46 CPU)
Result: FAIL
Failed 1/28 test programs. 1/1052 subtests failed.
make: *** [test] Error 255