Skip to content

Commit

Permalink
Merge pull request #1023 from eddbbt/fp-release-1.1
Browse files Browse the repository at this point in the history
Forwardport release-1.1 into master
  • Loading branch information
Annopaolo authored Dec 2, 2024
2 parents 67fd1cb + 0604ac5 commit c5e192c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@
defmodule Astarte.RealmManagement.APIWeb.TriggerControllerTest do
use Astarte.RealmManagement.APIWeb.ConnCase

alias Astarte.RealmManagement.API.JWTTestHelper
alias Astarte.RealmManagement.Mock

@create_attrs %{}
@invalid_attrs %{}

@test_realm "test"

setup %{conn: conn} do
Mock.DB.put_jwt_public_key_pem(@test_realm, JWTTestHelper.public_key_pem())
{:ok, conn: put_req_header(conn, "accept", "application/json")}
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ defmodule Astarte.TriggerEngine.AMQPConsumer.AMQPConsumerTrackerTest do

# make sure we update the consumer list without waiting for the update timeout
AMQPConsumerTracker.handle_info(:update_consumers, [])
Process.sleep(3000)

assert Enum.member?(
Registry.select(Registry.AMQPConsumerRegistry, [{{:"$1", :_, :_}, [], [:"$1"]}]),
Expand All @@ -93,6 +94,7 @@ defmodule Astarte.TriggerEngine.AMQPConsumer.AMQPConsumerTrackerTest do

# make sure we update the consumer list without waiting for the update timeout
AMQPConsumerTracker.handle_info(:update_consumers, [])
Process.sleep(3000)

assert not Enum.member?(
Registry.select(Registry.AMQPConsumerRegistry, [{{:"$1", :_, :_}, [], [:"$1"]}]),
Expand Down
2 changes: 0 additions & 2 deletions doc/pages/tutorials/010-astarte_in_5_minutes.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Astarte in 5 minutes

**This documentation page describes a development version, for production systems please use the [stable version](https://docs.astarte-platform.org/latest) instead.**

This tutorial will guide you through bringing up your Astarte instance, creating a realm and streaming your first data from a device simulator (or a real device) before your cup of tea is ready.

## Before you begin
Expand Down

0 comments on commit c5e192c

Please sign in to comment.