Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration creation with configurable replica count and wait time #159

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions tests/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Tests that should be run each time
RUNTESTS := qf ordering metadata tls unresponsive dummy oneway config correctable
RUNTESTS := qf ordering metadata tls unresponsive dummy oneway config correctable all2all

.PHONY: all qf ordering metadata tls unresponsive dummy oneway config correctable
.PHONY: all qf ordering metadata tls unresponsive dummy oneway config correctable all2all

all: $(RUNTESTS)

Expand All @@ -23,6 +23,8 @@ config: config/config.pb.go config/config_gorums.pb.go

correctable: correctable/correctable.pb.go correctable/correctable_gorums.pb.go

all2all: all2all/all2all.pb.go all2all/all2all_gorums.pb.go

%.pb.go : %.proto
@protoc -I=..:. --go_out=paths=source_relative:. $<

Expand Down
224 changes: 224 additions & 0 deletions tests/all2all/all2all.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions tests/all2all/all2all.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
syntax = "proto3";

package all2all;

option go_package = "github.com/relab/gorums/tests/all2all";

import "gorums.proto";

service Sample {
rpc WriteQC(WriteRequest) returns (WriteResponse) {
option (gorums.quorumcall) = true;
}
}

message WriteResponse {
bool New = 1;
}
message WriteRequest {
string Key = 1;
string Value = 2;
}
Loading