Skip to content

Commit

Permalink
test: checkin
Browse files Browse the repository at this point in the history
  • Loading branch information
Tochemey committed Mar 5, 2025
1 parent bc7038c commit 4c8962f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions actor/topic_actor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@ func TestTopicActor(t *testing.T) {
// make sure we receive the subscribe ack message
require.EqualValues(t, 1, actor3.Metric(ctx).ProcessedCount())

// subscribe to the topic
err = actor1.Tell(ctx, cl1.TopicActor(), &goaktpb.Unsubscribe{Topic: topic})
require.NoError(t, err)

util.Pause(time.Second)

// make sure we receive the subscribe ack message
require.EqualValues(t, 2, actor1.Metric(ctx).ProcessedCount())

require.NoError(t, cl1.Stop(ctx))
require.NoError(t, cl2.Stop(ctx))
require.NoError(t, cl3.Stop(ctx))
Expand Down

0 comments on commit 4c8962f

Please sign in to comment.