fix server_test data race bug
Merge pull request #4 from yourihua/master

fix server_test data race bug