nil ptr in main test on pipeline spinup race

main
Bel LaPointe 2024-04-16 07:36:12 -06:00
parent 5bc068451f
commit 098986eb07
2 changed files with 3 additions and 3 deletions

View File

@ -4,10 +4,7 @@ Thank you, [Sean](https://www.linkedin.com/in/sean-moore-1755a619/)
## TODO
- to class design for joins and external tables
- dedupe multi channels
- add Team to Message
- from sync ingest to ingestQueue that retries a few times so user messages can find parent
- limit queue retries
- share postgres with Grafana
- new dash in Grafana

View File

@ -45,8 +45,11 @@ func TestRun(t *testing.T) {
cfg.EventNamePattern = renderEventNamePattern
cfg.Port = port
cfg.driver = NewTestDriver(t)
cfg.storage, _ = NewStorage(ctx, cfg.driver)
cfg.SlackToken = "redacted"
cfg.SlackChannels = []string{"C06U1DDBBU4"}
cfg.slackToModelPipeline, _ = NewSlackToModelPipeline(ctx, cfg)
cfg.modelToPersistencePipeline, _ = NewModelToPersistencePipeline(ctx, cfg)
go func() {
if err := run(ctx, cfg); err != nil && ctx.Err() == nil {