Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forwardport release-1.1 into 1.2 #1021

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading