Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for isattached (0.17 sec)

  1. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    				result = true
    			}
    		}
    
    		if result == isAttached {
    			t.Logf("Volume <%v> is reported as attached to node <%v>: %v", volumeName, nodeName, result)
    			return true, nil
    		}
    		lastErr = fmt.Errorf("Check volume <%v> is reported as attached to node <%v>, got %v, expected %v",
    			volumeName,
    			nodeName,
    			result,
    			isAttached)
    		return false, nil
    	})
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_attacher_test.go

    			}
    
    			// compare attachment status for each spec
    			for _, attached := range tc.attachedSpecs {
    				stat, ok := stats[attached.spec]
    				if attached.attached && !ok {
    					t.Error("failed to retrieve attached status for:", attached.spec)
    				}
    				if attached.attached != stat {
    					t.Errorf("expecting volume attachment %t, got %t", attached.attached, stat)
    				}
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  3. pkg/controller/volume/attachdetach/cache/actual_state_of_world_test.go

    }
    
    // Calls AddVolumeNode() once with attached set to false.
    // Verifies a single volume/node entry exists.
    // Then calls AddVolumeNode() with attached set to true
    // Verifies volume is attached to the node according to asw.
    func Test_AddVolumeNode_Positive_NewVolumeNewNodeWithFalseAttached(t *testing.T) {
    	// Arrange
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 07:35:17 UTC 2024
    - 66.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

    // Helper class to hoist resource ops out of regions attached to an op.
    class RegionResourceHoister {
     public:
      explicit RegionResourceHoister(Operation* op) : op_(op) {}
    
      // Analyzes attached regions to record resources read and written.
      LogicalResult Analyze();
    
      // Returns all resources accessed by the regions attached the op.
      auto& GetResources() { return resources_; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. cmd/iam.go

    		}
    		isGroup = true
    	}
    
    	// Backward compatibility in detaching non-normalized DNs.
    	if !isAttach {
    		var oldDN string
    		if isGroup {
    			oldDN = r.Group
    		} else {
    			oldDN = r.User
    		}
    		if oldDN != dn {
    			sys.store.PolicyDBUpdate(ctx, oldDN, isGroup, stsUser, r.Policies, isAttach)
    		}
    	}
    
    	userType := stsUser
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  6. pkg/apis/storage/validation/validation_test.go

    			Attacher: "myattacher",
    			Source: storage.VolumeAttachmentSource{
    				PersistentVolumeName: &volumeName,
    			},
    			NodeName: "mynode",
    		},
    		Status: storage.VolumeAttachmentStatus{
    			Attached: true,
    			AttachmentMetadata: map[string]string{
    				"foo": "bar",
    			},
    			AttachError: &storage.VolumeError{
    				Time:    metav1.Time{},
    				Message: "hello world",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            when:
            setToNull(property)
    
            then:
            assertHasProducer(property, task)
        }
    
        def "producer task of upstream provider is ignored when producer task attached to property"() {
            def task = Mock(Task)
            def upstream = Mock(Task)
            def property = propertyWithNoValue()
            property.set(supplierWithProducer(upstream))
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  8. pkg/volume/testing/testing.go

    	if exist {
    		if nodeName == UncertainAttachNode {
    			return "/dev/vdb-test", nil
    		}
    		// even if volume was previously attached to time out, we need to keep returning error
    		// so as reconciler can not confirm this volume as attached.
    		if nodeName == TimeoutAttachNode {
    			return "", fmt.Errorf("timed out to attach volume %q to node %q", volumeName, nodeName)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                LOGGER.warn("artifact '{}' already attached, replacing previous instance", artifact);
                attachedArtifacts.set(index, artifact);
            } else {
                attachedArtifacts.add(artifact);
            }
        }
    
        /**
         * Returns a read-only list of the attached artifacts to this project.
         *
         * @return the attached artifacts of this project
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 17:18:13 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  10. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishJavaIntegTest.groovy

                }
                noMoreDependencies()
            }
        }
    
        @Issue("gradle/gradle#5450")
        def "doesn't fail with NPE if no component is attached to a publication"() {
            createBuildScripts("""
            publishing {
                publications {
                    java(IvyPublication) {
                        artifact jar
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 49.8K bytes
    - Viewed (0)
Back to top