Skip to content

Commit

Permalink
tests: tag failing instrumentation test will_fail
Browse files Browse the repository at this point in the history
  • Loading branch information
evnu authored and alfert committed Nov 28, 2023
1 parent 0ba9b86 commit 47e57f5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/instrument_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,13 @@ defmodule PropCheck.Test.InstrumentTester do
Logger.debug(inspect(mod.module_info(:attributes)))
end

@tag will_fail: true
# Fails as asn1rt_nif is not available
test "instrument an entire application" do
Logger.debug("All Apps: #{inspect(Application.loaded_applications())}")
# The ASN1 compiler is not really used, so no damage is expected
# The asn1 compiler is not really used, so no damage is expected
app = :asn1
all_modules = Application.spec(app, :modules)
assert all_modules = Application.spec(app, :modules)
Enum.each(all_modules, fn m -> assert not Instrument.is_instrumented?(m) end)

assert :ok == Instrument.instrument_app(app, MessageInstrumenter)
Expand Down

0 comments on commit 47e57f5

Please sign in to comment.