Commit daa2e363 authored by Greg Williams's avatar Greg Williams
Browse files

Merged in develop again, and addressed integration issues with new internal structure and APIs

parent 492909f6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8,4 +8,5 @@ compiler:
install:
  - bundle install
script:
  - make start_simulator
  - make all
+0 −1
Original line number Diff line number Diff line
source "http://rubygems.org/"
gem 'bundler', '>= 1.3.5'
gem 'ceedling', '>= 0.16'
gem 'kinetic-ruby'
+3 −20
Original line number Diff line number Diff line
GEM
  remote: http://rubygems.org/
  specs:
    beefcake (0.5.0)
    ceedling (0.16.0)
    diff-lcs (1.2.5)
    kinetic-ruby (0.6.3)
      beefcake
      rake (>= 0.9.2.2)
      rspec
    rake (10.3.2)
    rspec (3.0.0)
      rspec-core (~> 3.0.0)
      rspec-expectations (~> 3.0.0)
      rspec-mocks (~> 3.0.0)
    rspec-core (3.0.3)
      rspec-support (~> 3.0.0)
    rspec-expectations (3.0.3)
      diff-lcs (>= 1.2.0, < 2.0)
      rspec-support (~> 3.0.0)
    rspec-mocks (3.0.3)
      rspec-support (~> 3.0.0)
    rspec-support (3.0.3)
      rake (>= 0.8.7)
      thor (>= 0.14.5)
    rake (10.4.2)
    thor (0.19.1)

PLATFORMS
@@ -29,4 +13,3 @@ PLATFORMS
DEPENDENCIES
  bundler (>= 1.3.5)
  ceedling (>= 0.16)
  kinetic-ruby
+4 −31
Original line number Diff line number Diff line
@@ -143,7 +143,7 @@ $(OUT_DIR)/%.o: ${LIB_DIR}/bus/%.c ${LIB_DIR}/bus/%.h
${OUT_DIR}/*.o: src/lib/kinetic_types_internal.h


ci: uninstall all test_internals install
ci: uninstall all stop_simulator test_internals install
	@echo
	@echo --------------------------------------------------------------------------------
	@echo $(PROJECT) build completed successfully!
@@ -265,7 +265,7 @@ update_simulator:
	cp vendor/kinetic-java/kinetic-simulator/target/*.jar vendor/kinetic-java-simulator/

start_simulator:
	./vendor/kinetic-simulator/startSimulator.sh
	./vendor/kinetic-simulator/start2Simulators.sh

stop_simulator:
	./vendor/kinetic-simulator/stopSimulator.sh
@@ -361,20 +361,8 @@ $(SYSTEST_OUT)/%.testpass : $(SYSTEST_OUT)/run_%
	./scripts/runSystemTest.sh $*

$(systest_names) : % : $(SYSTEST_OUT)/%.testpass
system_tests: start_simulator $(systest_passfiles)

.SECONDARY: $(systest_executables) $(systest_sources)


# valgrind_systest_%: $(SYSTEST_OUT)/%
# 	@echo
# 	@echo ================================================================================
# 	@echo Executing system test: '$<'
# 	@echo --------------------------------------------------------------------------------;
# 	${VALGRIND} ${VALGRIND_ARGS} $<
# 	@echo ================================================================================
# 	@echo

system_tests: $(systest_passfiles)

#===============================================================================
# Test Utility Build Support
@@ -412,7 +400,7 @@ CLASSPATH = $(JAVA_HOME)/lib/tools.jar:$(SIM_JARS_PREFIX)-jar-with-dependencies.
SIM_RUNNER = com.seagate.kinetic.simulator.internal.SimulatorRunner
SIM_ADMIN = com.seagate.kinetic.admin.cli.KineticAdminCLI

run: $(UTIL_EXEC) start_simulator
run: $(UTIL_EXEC)
	@echo
	@echo --------------------------------------------------------------------------------
	@echo Running test utility: $(UTIL_EXEC)
@@ -449,17 +437,6 @@ $(BIN_DIR)/examples/%: $(EXAMPLE_SRC)/%.c $(KINETIC_LIB)

build_examples: $(example_executables)

test_example_%: $(BIN_DIR)/examples/%
	@echo
	@echo ================================================================================
	@echo Executing example: '$<'
	@echo --------------------------------------------------------------------------------;
	$<
	@echo ================================================================================
	@echo
	./vendor/kinetic-simulator/stopSimulator.sh
test_example_%: start_simulator

run_example_%: $(BIN_DIR)/examples/%
	@echo
	@echo ================================================================================
@@ -482,21 +459,17 @@ setup_examples: $(example_executables) \
	build_examples

examples: setup_examples \
	start_simulator \
	run_example_put_nonblocking \
	run_example_get_nonblocking \
	run_example_write_file_blocking \
	run_example_write_file_blocking_threads \
	run_example_write_file_nonblocking \
	run_example_get_key_range \
	stop_simulator

valgrind_examples: setup_examples \
	start_simulator \
	valgrind_put_nonblocking \
	valgrind_get_nonblocking \
	valgrind_example_write_file_blocking \
	valgrind_example_write_file_blocking_threads \
	valgrind_example_write_file_nonblocking \
	valgrind_example_get_key_range \
	stop_simulator
+7 −1
Original line number Diff line number Diff line
v0.10.1 (kinetic-protocol 3.0.5)
--------------------------------
* Fixed regression in 0.10.0 where a GET with metadataOnly=true would result in a crash if a value field was not provided
* Added system tests for P2P operations which are now fully validated and working on HW
* Fixed misue of pthread_join status in thread pool which was causing shutdown issues in GCC builds

v0.10.0 (kinetic-protocol 3.0.5)
-------------------------------
--------------------------------
* Added put_nonblocking and get_nonblocking examples
* Added KineticSemaphore API to provide a simpler wrapper around a common use of pthread condition variables as a thread safe way to signal when an async operation has finished
* Switched internal message infrastructure to use a threadpool. This will allow for a much higher number active connections and outstanding commands.
Loading