null+****@clear*****
null+****@clear*****
2011年 10月 30日 (日) 14:26:16 JST
Kouhei Sutou 2011-10-30 05:26:16 +0000 (Sun, 30 Oct 2011) New Revision: 47e31110dc4af4adfe2702f32726119c13b71067 Log: [test][grntest] use non standard port number. Modified files: test/unit/grntest/test-gqtp.rb test/unit/grntest/test-http.rb Modified: test/unit/grntest/test-gqtp.rb (+1 -0) =================================================================== --- test/unit/grntest/test-gqtp.rb 2011-10-30 05:25:47 +0000 (80b9e36) +++ test/unit/grntest/test-gqtp.rb 2011-10-30 05:26:16 +0000 (0388ed9) @@ -39,6 +39,7 @@ class GrnTestGQTPTest < Test::Unit::TestCase end output, error, status = invoke_grntest("--groonga", groonga, "--protocol", "gqtp", + "--port", "20041", "--log-output-dir", @tmp_dir, script_file.path, @database_path) Modified: test/unit/grntest/test-http.rb (+6 -1) =================================================================== --- test/unit/grntest/test-http.rb 2011-10-30 05:25:47 +0000 (3341c88) +++ test/unit/grntest/test-http.rb 2011-10-30 05:26:16 +0000 (b2ae3fa) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (C) 2010 Kouhei Sutou <kou****@clear*****> +# Copyright (C) 2010-2011 Kouhei Sutou <kou****@clear*****> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -38,6 +38,7 @@ class GrnTestHTTPTest < Test::Unit::TestCase end output, error, status = invoke_grntest("--groonga", groonga, "--protocol", "http", + "--port", "20041", "--log-output-dir", @tmp_dir, script.path, @database_path) assert_predicate(status, :success?, [output, error]) @@ -64,6 +65,7 @@ class GrnTestHTTPTest < Test::Unit::TestCase log = tempfile("log") output, error, status = invoke_grntest("--groonga", groonga, "--protocol", "http", + "--port", "20041", "--log-path", log.path, script.path, @database_path) assert_predicate(status, :success?, [output, error]) @@ -86,6 +88,7 @@ class GrnTestHTTPTest < Test::Unit::TestCase log = tempfile("log") output, error, status = invoke_grntest("--groonga", groonga, "--protocol", "http", + "--port", "20041", "--log-path", log.path, script.path, @database_path) assert_predicate(status, :success?, [output, error]) @@ -118,6 +121,7 @@ class GrnTestHTTPTest < Test::Unit::TestCase end output, error, status = invoke_grntest("--groonga", groonga, "--protocol", "http", + "--port", "20041", "--log-output-dir", @tmp_dir, script_file.path, @database_path) @@ -156,6 +160,7 @@ class GrnTestHTTPTest < Test::Unit::TestCase end output, error, status = invoke_grntest("--groonga", groonga, "--protocol", "http", + "--port", "20041", "--log-output-dir", @tmp_dir, script_file.path, @database_path)