@@ -96,7 +96,9 @@ def test_verify_quotes(network, args):
96
96
)
97
97
98
98
# Quick API validation - confirm that all of these /quotes/self entries match the collection returned from /quotes
99
- assert j in all_quotes
99
+ assert (
100
+ j in all_quotes
101
+ ), f"Didn't find { node .node_id } 's quote in collection\n { j } \n { json .dumps (all_quotes )} "
100
102
101
103
return network
102
104
@@ -648,6 +650,7 @@ def format_expected_host_data(entries):
648
650
649
651
650
652
@reqs .description ("Adding a new measurement invalidates open proposals" )
653
+ @reqs .not_snp ("Cannot produce alternative measurement on SNP" )
651
654
def test_proposal_invalidation (network , args ):
652
655
primary , _ = network .find_nodes ()
653
656
@@ -724,7 +727,8 @@ def run(args):
724
727
725
728
# Measurements
726
729
test_measurements_tables (network , args )
727
- test_add_node_with_untrusted_measurement (network , args )
730
+ if not snp .IS_SNP :
731
+ test_add_node_with_untrusted_measurement (network , args )
728
732
729
733
# Host data/security policy
730
734
test_host_data_tables (network , args )
@@ -740,10 +744,10 @@ def run(args):
740
744
test_endorsements_tables (network , args )
741
745
test_add_node_with_no_uvm_endorsements (network , args )
742
746
743
- # NB: Assumes the current nodes are still using args.package, so must run before test_update_all_nodes
744
- test_proposal_invalidation (network , args )
745
-
746
747
if not snp .IS_SNP :
748
+ # NB: Assumes the current nodes are still using args.package, so must run before test_update_all_nodes
749
+ test_proposal_invalidation (network , args )
750
+
747
751
# This is in practice equivalent to either "unknown measurement" or "unknown host data", but is explicitly
748
752
# testing that (without artifically removing/corrupting those values) a replacement package differs
749
753
# in one of these values
0 commit comments