Add --data, --listen and --ports to byre serve for task previews
This commit is contained in:
@@ -25,7 +25,7 @@ type received struct {
|
||||
func TestBurstIsOneNotification(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
var notifier *push.Notifier
|
||||
st, err := store.Open(filepath.Join(t.TempDir(), "byre.db"), func(ev api.Event) { notifier.Observe(ev) })
|
||||
st, err := store.Open(filepath.Join(t.TempDir(), "byre.db"), store.DefaultPortFirst, func(ev api.Event) { notifier.Observe(ev) })
|
||||
if err != nil {
|
||||
t.Fatalf("open store: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user