Skip to content
Open
Show file tree
Hide file tree
Changes from all 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