func (t *Timeout) Get(ctx context.Context, mode storage.ModeGet, addr swarm.Address) (swarm.Chunk, error) {
	ch, err := t.Storer.Get(ctx, mode, addr)
	if err != nil {
		if errors.Is(err, storage.ErrNotFound) {
			time.Sleep(searchTimeout)
		}
		return ch, err
	}
	time.Sleep(time.Duration(rand.Intn(10)) * time.Millisecond)  
	return ch, nil
}
Get overrides the mock storer and introduces latency
package testing
import (
	"bytes"
	"context"
	"encoding/binary"
	"errors"
	"fmt"
	"math/rand"
	"testing"
	"time"
	"github.com/ethsana/sana/pkg/crypto"
	"github.com/ethsana/sana/pkg/feeds"
	"github.com/ethsana/sana/pkg/storage"
	"github.com/ethsana/sana/pkg/storage/mock"
	"github.com/ethsana/sana/pkg/swarm"
)
type Timeout struct {
	storage.Storer
}
var searchTimeout = 30 * time.Millisecond