makefile: test 2B and 3B one by one (#277)

Signed-off-by: Andy Lok <andylokandy@hotmail.com>
This commit is contained in:
Andy Lok 2021-08-12 18:44:27 +08:00 committed by GitHub
parent b313af83c8
commit abcd3abd4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ format:
@gofmt -s -w `find . -name '*.go' -type f ! -path '*/_tools/*' -print` @gofmt -s -w `find . -name '*.go' -type f ! -path '*/_tools/*' -print`
project1: project1:
$(GOTEST) ./kv/server -run 1 $(GOTEST) ./kv/server -run 1
project2: project2a project2b project2c project2: project2a project2b project2c
@ -68,7 +68,17 @@ project2ac:
$(GOTEST) ./raft -run 2AC $(GOTEST) ./raft -run 2AC
project2b: project2b:
$(GOTEST) ./kv/test_raftstore -run 2B $(GOTEST) ./kv/test_raftstore -run ^TestBasic2B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestConcurrent2B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestUnreliable2B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestOnePartition2B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestManyPartitionsOneClient2B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestManyPartitionsManyClients2B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestPersistOneClient2B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestPersistConcurrent2B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestPersistConcurrentUnreliable2B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestPersistPartition2B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestPersistPartitionUnreliable2B$ || true
project2c: project2c:
$(GOTEST) ./raft ./kv/test_raftstore -run 2C $(GOTEST) ./raft ./kv/test_raftstore -run 2C
@ -79,7 +89,21 @@ project3a:
$(GOTEST) ./raft -run 3A $(GOTEST) ./raft -run 3A
project3b: project3b:
$(GOTEST) ./kv/test_raftstore -run 3B $(GOTEST) ./kv/test_raftstore -run ^TestTransferLeader3B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestBasicConfChange3B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestConfChangeRecover3B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestConfChangeRecoverManyClients3B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestConfChangeUnreliable3B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestConfChangeUnreliableRecover3B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestConfChangeSnapshotUnreliableRecover3B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestConfChangeSnapshotUnreliableRecoverConcurrentPartition3B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestOneSplit3B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestSplitRecover3B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestSplitRecoverManyClients3B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestSplitUnreliable3B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestSplitUnreliableRecover3B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestSplitConfChangeSnapshotUnreliableRecover3B$ || true
$(GOTEST) ./kv/test_raftstore -run ^TestSplitConfChangeSnapshotUnreliableRecoverConcurrentPartition3B$ || true
project3c: project3c:
$(GOTEST) ./scheduler/server ./scheduler/server/schedulers -check.f="3C" $(GOTEST) ./scheduler/server ./scheduler/server/schedulers -check.f="3C"