Skip to content
Merged
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
2 changes: 1 addition & 1 deletion pkg/file/pipeline/encryption/encryption_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func init() {
}
}

// TestEncyrption tests that the encryption writer works correctly.
// TestEncryption tests that the encryption writer works correctly.
func TestEncryption(t *testing.T) {
t.Parallel()

Expand Down
2 changes: 1 addition & 1 deletion pkg/file/pipeline/feeder/feeder.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type chunkFeeder struct {
wrote int64
}

// newChunkFeederWriter creates a new chunkFeeder that allows for partial
// NewChunkFeederWriter creates a new chunkFeeder that allows for partial
// writes into the pipeline. Any pending data in the buffer is flushed to
// subsequent writers when Sum() is called.
func NewChunkFeederWriter(size int, next pipeline.ChainWriter) pipeline.Interface {
Expand Down
2 changes: 1 addition & 1 deletion pkg/pusher/pusher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (m *mockStorer) ReservePutter() storage.Putter {
)
}

// TestSendChunkToPushSync sends a chunk to pushsync to be sent to its closest peer and get a receipt.
// TestChunkSyncing sends a chunk to pushsync to be sent to its closest peer and get a receipt.
// once the receipt is got this check to see if the localstore is updated to see if the chunk is set
// as ModeSetSync status.
func TestChunkSyncing(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/pushsync/pushsync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ func TestShallowReceiptTolerance(t *testing.T) {
waitOnRecordAndTest(t, closestPeer, recorder, chunk.Address(), nil)
}

// PushChunkToClosest tests the sending of chunk to closest peer from the origination source perspective.
// TestPushChunkToClosest tests the sending of chunk to closest peer from the origination source perspective.
// it also checks whether the tags are incremented properly if they are present
func TestPushChunkToClosest(t *testing.T) {
t.Parallel()
Expand Down
Loading