Skip to content

Commit

Permalink
Merge "[FAB-5236] Fix method name"
Browse files Browse the repository at this point in the history
  • Loading branch information
kchristidis authored and Gerrit Code Review committed Jul 27, 2017
2 parents 627b474 + 0d57e62 commit f3d0f5c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion common/ledger/blkstorage/fsblkstorage/blockfile_mgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ The blockfile manager stores blocks of data into a file system. That file
storage is done by creating sequentially numbered files of a configured size
i.e blockfile_000000, blockfile_000001, etc..
Each transcation in a block is stored with information about the number of
Each transaction in a block is stored with information about the number of
bytes in that transaction
Adding txLoc [fileSuffixNum=0, offset=3, bytesLength=104] for tx [1:0] to index
Adding txLoc [fileSuffixNum=0, offset=107, bytesLength=104] for tx [1:1] to index
Expand Down
12 changes: 6 additions & 6 deletions orderer/common/server/benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func TestOrdererBenchmark(t *testing.T) {
}

t.Run("Benchmark Sample Test", func(t *testing.T) {
benchmarkBroadcast(t, 1, 5, PreferredMaxBytes, 1, 0, 1, true)
benchmarkOrderer(t, 1, 5, PreferredMaxBytes, 1, 0, 1, true)
})
}

Expand Down Expand Up @@ -167,7 +167,7 @@ func TestOrdererBenchmarkSoloBroadcast(t *testing.T) {

for factors := range combinations(args) {
t.Run(factors.String(), func(t *testing.T) {
benchmarkBroadcast(
benchmarkOrderer(
t,
factors.numOfChannels,
factors.totalTx,
Expand Down Expand Up @@ -215,7 +215,7 @@ func TestOrdererBenchmarkSoloDeliver(t *testing.T) {

for factors := range combinations(args) {
t.Run(factors.String(), func(t *testing.T) {
benchmarkBroadcast(
benchmarkOrderer(
t,
factors.numOfChannels,
factors.totalTx,
Expand Down Expand Up @@ -263,7 +263,7 @@ func TestOrdererBenchmarkKafkaBroadcast(t *testing.T) {

for factors := range combinations(args) {
t.Run(factors.String(), func(t *testing.T) {
benchmarkBroadcast(
benchmarkOrderer(
t,
factors.numOfChannels,
factors.totalTx,
Expand Down Expand Up @@ -311,7 +311,7 @@ func TestOrdererBenchmarkKafkaDeliver(t *testing.T) {

for factors := range combinations(args) {
t.Run(factors.String(), func(t *testing.T) {
benchmarkBroadcast(
benchmarkOrderer(
t,
factors.numOfChannels,
factors.totalTx,
Expand All @@ -325,7 +325,7 @@ func TestOrdererBenchmarkKafkaDeliver(t *testing.T) {
}
}

func benchmarkBroadcast(
func benchmarkOrderer(
t *testing.T,
numOfChannels int,
totalTx int,
Expand Down

0 comments on commit f3d0f5c

Please sign in to comment.